Table '.\about_cj\newabout' is marked as crashed and should be repaired

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

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

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

Table '.\about_cj\newabout' is marked as crashed and should be repaired

4.然后用repair table newabout

Table '.\about_cj\newabout' is marked as crashed and should be repaired

5.再用check table newabout

Table '.\about_cj\newabout' is marked as crashed and should be repaired

6.搞定!

 

你可能感兴趣的:(table)