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

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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 解决方法的主要内容,如果未能解决你的问题,请参考以下文章

Table 'hd_online' is marked as crashed and should be repaired索引损坏

Table '.gtseventdata#P#p0' is marked as crashed and last (automatic?) repair failed

mysql报错:Table 'ta_history' is marked as crashed and should be repa

[MySQL]快速解决"Table '.sjzlfzbp_post' is marked as crashed and should be repaired"故

mysql 报错'./ivr/T_CDR' is marked as crashed and should be repaired when doing LOCK TABLES(示例代

swift 报错 Call can throw, but it is not marked with 'try' and the error is not handled