
innodb_force_recovery强制修复MySQL异常关闭问题
1、在mysql的配置文件my.cnf里添加以下代码: [mysqld] innodb_force_recovery=1 #可以设置1-6 innodb_purge_thread=0 #如果上边的配置值大于1,此处就要设置为0,否则就会出现...
1、在mysql的配置文件my.cnf里添加以下代码: [mysqld] innodb_force_recovery=1 #可以设置1-6 innodb_purge_thread=0 #如果上边的配置值大于1,此处就要设置为0,否则就会出现...