innoDB初始化完成后,实例启动失败
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了innoDB初始化完成后,实例启动失败相关的知识,希望对你有一定的参考价值。
2020-01-22 15:50:28 13707 [ERROR] InnoDB: auto-extending data file ./ibdata1 is of a different size 768 pages (rounded down to MB) than specified in the .cnf file: initial 131072 pages, max 0 (relevant if non-zero) pages!2020-01-22 15:50:28 13707 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2020-01-22 15:50:28 13707 [ERROR] Plugin ‘InnoDB‘ init function returned error.
2020-01-22 15:50:28 13707 [ERROR] Plugin ‘InnoDB‘ registration as a STORAGE ENGINE failed.
2020-01-22 15:50:28 13707 [ERROR] Unknown/unsupported storage engine: InnoDB
2020-01-22 15:50:28 13707 [ERROR] Aborting
这个错误原因不详。
解决方案。。。
!主要删除:ibdata1、ib_logfile0、ib_logfile1文件
!重新启动实例
以上是关于innoDB初始化完成后,实例启动失败的主要内容,如果未能解决你的问题,请参考以下文章
Amazon EC2,mysql 中止启动,因为 InnoDB:mmap(x 字节)失败;错误号 12