您的位置:首页 > 数据库 > MySQL

mysql无法启动,日志文件显示“Ignoring the redo log”

2018-09-03 16:00 627 查看

今天突然遇到mysql无法启动的问题,系统是Centos7.
systemctl start mysqld 显示

Starting mysqld (via systemctl): Job for mysqld.service failed because the control process exited with error code. See “systemctl status mysqld.service” and “journalctl -xe” for details、 [FAILED]

提示是用 systemctl status mysqld 查看,但是查看了基本没有什么有用的信息,然后看了下mysql的日志,发现是报下面的错误

[ERROR] InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT.
[ERROR] InnoDB: Plugin initialization aborted with error Generic error
[ERROR] Plugin 'InnoDB' init function returned error.
[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
[ERROR] Failed to initialize builtin plugins.
[ERROR] Aborting

百度了一下发现,把mysql数据文件夹下的ib_logfile0ib_logfile1这两个文件删除就可以了。

阅读更多
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐