1.在 my.cnf 中的[mysqld]一节添加 innodb_force_recovery = 1 。 2.尝试启动,如果失败,尝试 2 ~ 6 间的其它参数 3.启动后备份数据库 4.删除数据库,清理数据目录 5.备份 MySQL 数据目录下的 ib_logfile* 和 ibdata* 文件,然后删除 6.将 my.cnf 中的 innodb_force_recovery 设为0 7.重启MySQL 8.导入数据