您好,欢迎来到零久娱乐。
搜索
您的当前位置:首页mysql报错:MySQLserverversionfortherightsyntaxtouseneartype=InnoDB的解决方法

mysql报错:MySQLserverversionfortherightsyntaxtouseneartype=InnoDB的解决方法

来源:零久娱乐


本文实例讲述了mysql报错:MySQL server version for the right syntax to use near type=InnoDB的解决方法。分享给大家供大家参考,具体如下:

一、问题:

工作中使用sql语句建表时,mysql报了如下错误:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘type=InnoDB' at line 1

二、解决方案:

这个报错是由于某些版本的mysql不支持type写法,将type关键词改成ENGINE 即可。

希望本文所述对大家MySQL数据库设计有所帮助。

您可能感兴趣的文章:

  • MySql报错Table mysql.plugin doesn’t exist的解决方法
  • MySQL 启动报错:File ./mysql-bin.index not found (Errcode: 13)
  • MyEclipse连接MySQL数据库报错解决办法
  • mysql服务无法启动报错误1067解决方法(mysql启动错误1067 )
  • mysql登录报错提示:ERROR 1045 (28000)的解决方法
  • mysql导入sql文件报错 ERROR 2013 2006 2002
  • 解决Mysql服务器启动时报错问题的方法
  • mysql报错1033 Incorrect information in file: ‘xxx.frm’问题的解决方法
  • Copyright © 2019- nj9.com.cn 版权所有

    违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

    本站由北京市万商天勤律师事务所王兴未律师提供法律服务