修改MySql默认存储引擎为InnoDB,启动报错

修改my.cnf

[mysqld] 后加入
default-storage-engine=InnoDB后

否启动mysql时会遇到下述错误:
[ERROR] Plugin ‘InnoDB‘ init function returned error.
[ERROR] Plugin ‘InnoDB‘ registration as a STORAGE ENGINE failed.
[ERROR] Unknown/unsupported table type: InnoDB
[ERROR] Aborting

删除mysql,data目录下的ib_logfile0,ib_logfile1

启动mysql


本文出自 “Lonely(技术群:1991706)” 博客,请务必保留此出处http://304076020.blog.51cto.com/7503470/1546559

修改MySql默认存储引擎为InnoDB,启动报错

上一篇:WEB平台架构之:LAMP(Linux+Apache+MySQL+PHP)


下一篇:MySQL 之压力测试工具