Last_SQL_Error: Error 'Table './bugs/xxxx' is marked as crashed and should be repaired' on query.
解决办法:
mysql -u root -p'xxxx'
use bugs;
repair table xxxx;
如果是mysql slave(需重启下slave)
stop slave;
start slave;
转载于:https://blog.51cto.com/yangzhiming/2327387