欢迎投稿

今日深度:

mysql报错:MySQL server version for the right syntax to us

mysql报错:MySQL server version for the right syntax to use near type=InnoDB的解决方法,syntaxinnodb


本文实例讲述了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数据库设计有所帮助。

您可能感兴趣的文章:

  • 编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法
  • mysql服务无法启动报错误1067解决方法(mysql启动错误1067 )
  • 开启bin-log日志mysql报错的解决方法
  • MySql报错Table mysql.plugin doesn’t exist的解决方法
  • phpmyadmin报错:#2003 无法登录 MySQL服务器的解决方法
  • Can''t create/write to file ''C:\WINDOWS\TEMP\...MYSQL报错解决方法
  • MySQL Administrator 登录报错的解决方法
  • MySQL提示The InnoDB feature is disabled需要开启InnoDB的解决方法
  • MySQL中Innodb的事务隔离级别和锁的关系的讲解教程
  • MySQL中InnoDB存储引擎的锁的基本使用教程
  • MySQL的InnoDB引擎入门学习教程

www.htsjk.Com true http://www.htsjk.com/Mysql/14739.html NewsArticle mysql报错:MySQL server version for the right syntax to use near type=InnoDB的解决方法,syntaxinnodb 本文实例讲述了mysql报错:MySQL server version for the right syntax to use near type=InnoDB的解决方法。分享给大家...
评论暂时关闭