无法启动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即可。

 

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值