mysql 错误:Table is marked as crashed and should be repaired 解决办法
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql 错误:Table is marked as crashed and should be repaired 解决办法相关的知识,希望对你有一定的参考价值。
遇到这个问题几个敲命令轻松搞定
1、首先进入mysql命令台:
mysql -u root -p 回车 输入密码
2、查询所有的库
mysql> show databases;
3、进入数据库“XXXX”,是库名
mysql> use 数据库名称;
4、check table xxxxxx(xxxxxx--出现错误的表)用来检查出现问题的表的状态,出现错误就正常
5、然后用repire 修复表
repair table xxxxxx
6、再用检查一下就ok了
check table XXXXXX
7、ok 搞定
以上是关于mysql 错误:Table is marked as crashed and should be repaired 解决办法的主要内容,如果未能解决你的问题,请参考以下文章