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

本文介绍了一种Centos7系统下MySQL无法启动的问题及其解决方案。主要错误为InnoDB插件初始化失败,通过删除mysql数据文件夹下的ib_logfile0和ib_logfile1文件解决了该问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天突然遇到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这两个文件删除就可以了。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值