【原】The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working

今天安装php程序的时候,突然mysql报出了个错误:The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working 。

 在命令行查看了下SHOW variables like "have_%";

发现innodb不能使用。

然后又查看了下,innodb插件是否安装了。发现已经安装了,只是为激活状态。

 

安装了为什么没有激活,后来网上查找了下,然后查看my.ini文件,发现skip-innodb 这个属性被开启了,只要屏蔽掉就可以了,在前面加上#号。

最后重启mysql 服务就OK了。

posted @ 2011-09-05 21:04  roemin  阅读(5241)  评论(0)    收藏  举报