MySQL服务无法启动,Innodb初始化失败处理
1、问题说明
- MySQL服务无法启动,Innodb初始化失败处理
- mysql错误日志如下:
2024-10-19T08:44:48.047378Z 0 [ERROR] InnoDB: Log file .\ib_logfile0 size 134217740 is not a multiple of innodb_page_size
2024-10-19T08:44:48.047872Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2024-10-19T08:44:48.268612Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2024-10-19T08:44:48.269065Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-10-19T08:44:48.269437Z 0 [ERROR] Failed to initialize builtin plugins.
2024-10-19T08:44:48.269722Z 0 [ERROR] Aborting

2、操作说明
- 删除实时数据库里面的ib_logfile0和ib_logfile1文件,并重启mysql服务。

