无法启动MYSQL服务,发生系统错误1067,进程意外中止原因及解决方法

本人的另外一篇博客有定位启动失败原因的方法,在此基础上查看启动失败的原因。

https://blog.csdn.net/a1257427517/article/details/84927457

通过查看日志,发现 unknown variable 'innodb_checksum_algorithm=0' 是该属性导致启动失败

181209 14:01:54 [Note] Plugin 'FEDERATED' is disabled.
181209 14:01:54 InnoDB: The InnoDB memory heap is disabled
181209 14:01:54 InnoDB: Mutexes and rw_locks use Windows interlocked functions
181209 14:01:54 InnoDB: Compressed tables use zlib 1.2.3
181209 14:01:54 InnoDB: Initializing buffer pool, size = 8.0M
181209 14:01:54 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file .\ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 50331648 bytes!
181209 14:01:54 [ERROR] Plugin 'InnoDB' init function returned error.
181209 14:01:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
181209 14:01:54 [ERROR] MySQL: unknown variable 'innodb_checksum_algorithm=0'
181209 14:01:54 [ERROR] Aborting

这个是5.6新增的功能,用来指定checksum的算法,删掉该属性,继续启动发现错误变了

181209 14:04:00 [Note] Plugin 'FEDERATED' is disabled.
181209 14:04:00 InnoDB: The InnoDB memory heap is disabled
181209 14:04:00 InnoDB: Mutexes and rw_locks use Windows interlocked functions
181209 14:04:00 InnoDB: Compressed tables use zlib 1.2.3
181209 14:04:00 InnoDB: Initializing buffer pool, size = 8.0M
181209 14:04:00 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file .\ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 50331648 bytes!
181209 14:04:00 [ERROR] Plugin 'InnoDB' init function returned error.
181209 14:04:00 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
181209 14:04:00 [ERROR] Unknown/unsupported storage engine: INNODB
181209 14:04:00 [ERROR] Aborting

在my.ini中找到default-storage-engine=INNODB value改为MYISAM即可。

猜你喜欢

转载自blog.csdn.net/a1257427517/article/details/84927562