使用此命令即可 无需重启应用 mysqlcheck --auto-repair --databases 库名 --tables 表名 -o -uroot 也可以进入mysql repair table tablename