linux Table is marked as crashed and should be repaired

1.遇到这个问题的时候就百度了一下,开始没找到答案,最后看了几个命令就尝试了一下,居然成功了。

2.首先进入mysql命令台:mysql -u root -p 回车  输入密码

3.进入到表所在的数据库,check table newabout用来检查出现问题的表的状态,出现错误就正常

4.然后用repair table newabout

linux Table is marked as crashed and should be repaired_第1张图片

5.再用check table newabout

linux Table is marked as crashed and should be repaired_第2张图片

6.搞定!


原文地址:http://www.cnblogs.com/yuwensong/archive/2013/05/09/3068336.html

你可能感兴趣的:(linux Table is marked as crashed and should be repaired)