首页 > 代码库 > Table '' is marked as crashed and should be repaired 解决方法

Table '' is marked as crashed and should be repaired 解决方法

解决方法:


找到mysql的安装目录的bin/myisamchk工具,在命令行中输入:

myisamchk -c -r ../data/mysql/user.MYI


然后myisamchk 工具会帮助你恢复数据表的索引。重新启动mysql,问题解决。


本文出自 “尼古风锁丝愁过” 博客,请务必保留此出处http://smoke520.blog.51cto.com/9256117/1913003

Table '' is marked as crashed and should be repaired 解决方法