mysql 错误:Table is marked as crashed and should be repaired 解决办法
#先进入对应的数据库
mysql -u root -p 回车 输入密码
mysql> show databases;
mysql> use 数据库名称;
# 检查表
check table xxxxxx
#修复表
repair table xxxxxx
#再检查是否有错
check table XXXXXX
mysql 错误:Table is marked as crashed and should be repaired 解决办法
#先进入对应的数据库
mysql -u root -p 回车 输入密码
mysql> show databases;
mysql> use 数据库名称;
# 检查表
check table xxxxxx
#修复表
repair table xxxxxx
#再检查是否有错
check table XXXXXX