MySQL Table is marked as crashed 解决方法

MYSQL数据表出现问题,提示:
ERROR 144 (HY000): Table './dpt/dpt_production' is marked as crashed and last (automatic?) repair failed

修复数据表操作:

service mysqld stop;
cd /var/lib/mysql/dpt
myisamchk -r dpt_production.MYI
mysqlcheck -r dpt -uroot -p

注意:操作第三步前一定要把mysql服务停掉。

原文地址:https://www.cnblogs.com/hubery/p/5718956.html