Home > Database > Mysql Tutorial > MySQL提示The InnoDB feature is disabled需要开启InnoDB的解决方法_MySQL

MySQL提示The InnoDB feature is disabled需要开启InnoDB的解决方法_MySQL

PHP中文网
Release: 2016-05-27 13:46:15
Original
1734 people have browsed it

本文实例分析了MySQL提示The InnoDB feature is disabled需要开启InnoDB的解决方法。分享给大家供大家参考,具体如下:

一、问题:

建立数据表报错:

ERROR 1289 : The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working

开启DOD命令行,登录(关于MySQL使用DOS命令行登录方法可查看前一篇《MySQL基于DOS命令行登录操作实例(图文说明)》)并查看了下

代码如下:

SHOW variables like "have_%";
Copy after login

发现innodb不能使用。只是未激活状态

二、解决方法:

查看my.ini文件,发现skip-innodb 这个属性被开启了,只要屏蔽掉就可以了,在前面加上#号。(注意此处需要在skip-innodb前面加上#号,而不是去掉#

最后重启mysql 服务就OK了。

以上就是MySQL提示The InnoDB feature is disabled需要开启InnoDB的解决方法_MySQL的内容,更多相关内容请关注PHP中文网(www.php.cn)!


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template