Unknown/unsupported storage engine: InnoDB


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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM