症狀:無法啟動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