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引擎入门学习教程
本站文章为和通数据库网友分享或者投稿,欢迎任何形式的转载,但请务必注明出处.
同时文章内容如有侵犯了您的权益,请联系QQ:970679559,我们会在尽快处理。