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

遇到这个问题几个敲命令轻松搞定mysql

一、首先进入mysql命令台:sql

mysql -u root -p 回车  输入密码数据库

二、查询全部的库.net

mysql> show databases; blog

三、进入数据库“eduyun_2015_sp1”是库名table

mysql> use eduyun_2015_sp1;密码

四、check table newabout(newabout--出现错误的表)用来检查出现问题的表的状态,出现错误就正常数据

五、而后用repair table newabout查询

 

六、再用check table newabout 检查一下就ok了tab

相关文章
相关标签/搜索