10

解决phpMyAdmin编辑Mysql数据库报错“#1030 Get error from storage engine”

 3 years ago
source link: https://www.huhexian.com/22326.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

解决phpMyAdmin编辑Mysql数据库报错“#1030 Get error from storage engine”

青山 2022-01-1015:06:29评论347字

今天为客户处理网站无法登录的问题,因为WordPress后台密码不对,想通过phpMyAdmin直接修改数据库的密码,但是提示错误:#1030 Get error * from storage engine,如果下图所示:

解决phpMyAdmin编辑Mysql数据库报错“#1030 Get error from storage engine”Google了一圈,说什么磁盘满了之类的,但是磁盘的的确确没有满,然后最终找到了原因,是数据库引擎 innodb 的问题,在mysql 的配置文件 my.cnf(也有可能为 my.ini ),发现了 innodb_force_recovery 的值为 6,默认值应该为 0,一旦这个参数的值大于0, innodb会被禁止使用insert、update、delete命令,可以将这个值修改为 0,或者直接在前面添加#进行注销,重启mysql就正常了。

解决phpMyAdmin编辑Mysql数据库报错“#1030 Get error from storage engine”至于深层次的东西,倡萌就不深究了,发文备忘下,顺便拔拔草。

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK