mysql掉电后重启失败问题

报错


2022-12-07T01:41:02.844533Z 0 [ERROR] InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint 265368743141 and the end 265368742912.
2022-12-07T01:41:02.844551Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2022-12-07T01:41:03.445579Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2022-12-07T01:41:03.445613Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2022-12-07T01:41:03.445624Z 0 [ERROR] Failed to initialize builtin plugins.
2022-12-07T01:41:03.445640Z 0 [ERROR] Aborting

2022-12-07T01:41:03.445723Z 0 [Note] Binlog end
2022-12-07T01:41:03.445810Z 0 [Note] Shutting down plugin 'CSV'
2022-12-07T01:41:03.446170Z 0 [Note] /usr/sbin/mysqld: Shutdown complete

 

解决方法

  1. Set innodb_log_checksums = ON on master and slave.
  2. Remove rm /var/lib/mysql/ib_logfile*.
  3. Restart.
  4. remove innodb_log_checksums = ON  from my.conf
  5. Restart

posted on   cococooder  阅读(177)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· 葡萄城 AI 搜索升级:DeepSeek 加持,客户体验更智能
· 什么是nginx的强缓存和协商缓存
· 一文读懂知识蒸馏
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示