MySQL数据库执行sql语句创建数据库和表提示The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have

来源:互联网 发布:mac视频播放器 编辑:程序博客网 时间:2024/06/06 19:35

MySQL创建数据库 只想sql文件创建表时候提示

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

原因:

有可能是mysql配置文件my.ini文件中skip-innodb 开启了 ,找到mysql目录找到my.ini文件搜索定位到skip-innodb 

解决办法

前面加上#  ---->#skip-innodb

 重新启动mysql

开始输入cmd--->右键管理员省份运行

 

1 0