简体   繁体   English

MySQL OSX innodb_force_recovery不断更改为1

[英]MySQL OSX innodb_force_recovery keeps changing to 1

I'm battling with this and have been for a few days.. 我正在为此奋斗了几天。

I have access to my.cnf and have noticed innodb_force_recovery keeps appearing. 我可以访问my.cnf,并注意到innodb_force_recovery不断出现。 I have removed the line altogether but each time MySQL starts it comes back as follows: 我完全删除了该行,但是每次MySQL启动时,它都会返回如下:

[mysqld] 的[mysqld]

innodb_force_recovery = 1 innodb_force_recovery = 1

This is a little out of my depth, I must have changed something somewhere but I'm unable to import an .sql backup to my local Database. 这有点超出我的深度,我必须在某处进行了一些更改,但是无法将.sql备份导入到本地数据库。

OSX, running MAMP OSX,正在运行MAMP

Can I ask also, how this works, is the problem locally within my Database configuration or is it something that has happened to the table structure we are trying to import? 我还能问一下,它是如何工作的,是我的数据库配置中的本地问题还是我们尝试导入的表结构中发生的事情?

Thanks 谢谢

原来这是MAMP使用所有内容的模板文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM