一 问题描述
数据库起不来,错误日志报错:
[ERROR] InnoDB: Missing MLOG_CHECKPOINT at 1019092449774 between the checkpoint 1019092446588 and the end 1019092449280.
2021-02-02 14:38:57 139789918742496 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2021-02-02 14:38:58 139789918742496 [Note] InnoDB: Starting shutdown...
2021-02-02 14:38:58 139789918742496 [ERROR] Plugin 'InnoDB' init function returned error.
2021-02-02 14:38:58 139789918742496 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2021-02-02 14:38:58 139789918742496 [Note] Plugin 'FEEDBACK' is disabled.
2021-02-02 14:38:58 139789918742496 [ERROR] Unknown/unsupported storage engine: InnoDB
2021-02-02 14:38:58 139789918742496 [ERROR] Aborting
二 解决办法
删除ib_logfile0和ib_logfile1,重新启动数据库就可以了