[ERROR] Plugin 'InnoDB' init function returned error

Posted 太白的技术博客

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[ERROR] Plugin 'InnoDB' init function returned error相关的知识,希望对你有一定的参考价值。

今天一大早到公司,计划把开发环境的mysql升级到5.7.15,干净关闭系统后,把目录从5.6指向到5.7,一切正常,重新指向5.6启动时,报下列错误:

2016-10-31 08:13:14 86998 [ERROR] Plugin ‘InnoDB‘ init function returned error.
2016-10-31 08:13:14 86998 [ERROR] Plugin ‘InnoDB‘ registration as a STORAGE ENGINE failed.
2016-10-31 08:13:14 86998 [ERROR] Unknown/unsupported storage engine: InnoDB
2016-10-31 08:13:14 86998 [ERROR] Aborting

因为是正常关闭mysql服务的,且确定data目录没有任何人工动过,故直接删除ib_log* innodb_log,重新启动即可。

以上是关于[ERROR] Plugin 'InnoDB' init function returned error的主要内容,如果未能解决你的问题,请参考以下文章

Error: The 'decorators' plugin requires a 'decoratorsBeforeExport' option

MySQL 报错ERROR 1054 (42S22): Unknown column 'plugin' in 'mysql.user'

MySQL 强行kill后启动失败问题:[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.

ERROR 1524 (HY000): Plugin 'auth_socket' is not loaded

ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password' cannot be loaded

Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found解决办法