mysql table is marked as crashed and last (automatic?) repair failed

MySQLDump备份数据库的时候出现了下面的错误提示:

Error: Table './db_name/table_name' is marked as crashed and last (automatic?) repair failed

提示数据库中的某个表出现错误了,可以使用myisamchk这个工具进行修复,操作步骤如下:

1、停止数据库

service mysqld stop

2、进入数据库目录,修复损坏的表

myisamchk -r table.name.MYI

3、重启数据库

service mysqld start

你可能感兴趣的:(mysql table is marked as crashed and last (automatic?) repair failed)