码迷,mamicode.com
首页 > 数据库 > 详细

Unknown/unsupported storage engine: InnoDB

时间:2016-09-05 01:42:13      阅读:268      评论:0      收藏:0      [点我收藏+]

标签:

症状:无法启动mysql,在“mysql数据库目录/主机名.err”日志文件中报错 Unknown/unsupported storage engine: InnoDB
原因:MySQL5.5.8 GA默认引擎为InnoDB,而配置文件(my.cnf)中设置了skip-innodb
解决:在配置文件(my.cnf)中设置default-storage-engine=MyISAM

Error:
2013-08-18 21:08:37 21440 [Note] Plugin ‘FEDERATED‘ is disabled.
2013-08-18 21:08:37 21440 [Note] Plugin ‘InnoDB‘ is disabled.
2013-08-18 21:08:37 21440 [ERROR] Unknown/unsupported storage engine: InnoDB

My.cnf修改成这样就Ok了:
#loose-skip-innodb            
default-storage-engine = MyISAM

加上#号后启动Ok:
mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.6.13 Source distribution

Unknown/unsupported storage engine: InnoDB

标签:

原文地址:http://www.cnblogs.com/losbyday/p/5840834.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!