解决The‘InnoDB’feature is disabled; you need MySQL built with ‘InnoDB’ to have it
出现如下语句:The ‘InnoDB' feature is disabled; you need MySQL built with ‘InnoDB' to have it working;
是mysql配置文件禁掉了这个选项!
关闭mysql数据库
在mysql的安装目录中找到my.ini文件
找到skip-innodb,在前面加上#号(C:\AppServ\MySQL\my.ini)
保存,开启mysql数据库!搞定!
这也是开启Mysql数据库InnoDB功能的方法!!
解决方法:
查看my.ini文件,发现skip-innodb 这个属性被开启了,只要屏蔽掉就可以了,在前面加上#号。(注意:此处需要在skip-innodb前面加上#号,而不是去掉#)
mysql > show engines; 看下,已经支持了