今天一大早到公司,计划把开发环境的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,重新启动即可。

05-02 20:51