MySQL server version for the right syntax to use near ‘USING BTREE
2013-07-11 23:12
597 查看
转自:http://www.douban.com/note/157818842/
有时导入mysql会提示如下错误:
解决办法是打开要导入的文件在里面搜索 BTREE 找到如下内容:
KEY `columnCindex` (`columnC`) USING BTREE
修改为
KEY `columnCindex` USING BTREE (`columnC`)
然后就可以顺利通过了
-------------------------------------------
主要的问题是,数据库sql文件版本不合
有时导入mysql会提示如下错误:
C:\Users\liqiang>mysql -uroot -paaaaaa guangxi <e:\data\ticai.sql ERROR 1064 (42000) at line 486: 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 'USING BTREE, KEY `Reference_1_FK` (`RoleID`), CONSTRAINT `FK_userinfo_RoleID' at line 11
解决办法是打开要导入的文件在里面搜索 BTREE 找到如下内容:
KEY `columnCindex` (`columnC`) USING BTREE
修改为
KEY `columnCindex` USING BTREE (`columnC`)
然后就可以顺利通过了
-------------------------------------------
主要的问题是,数据库sql文件版本不合
相关文章推荐
- check the manual that corresponds to your MySQL server version for the right syntax to use near 'oiw
- check the manual that corresponds to your MySQL server version for the right syntax to use near '?,?
- MySql 执行语句错误 Err] 1064 - 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
- mysql报错:MySQL server version for the right syntax to use near 'type=InnoDB'
- MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=DEFAULT’
- check the manual that corresponds to your MySQL server version for the right syntax to use near '..'
- MySQL server version for the right syntax to use near ';) T' at line 7
- check the manual that corresponds to your MySQL server version for the right syntax to use near‘XXX’
- java MySQL server version for the right syntax to use near
- mysql报错:MySQL server version for the right syntax to use near type=InnoDB的解决方法
- heck the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTI
- mysql ignore 不能执行MySQL server version for the right syntax to use near ignore问题
- dbvis MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=DEFAULT' at lin
- corresponds to your MySQL server version for the right syntax to use near错误原因之一
- check the manual that corresponds to your MySQL server version for the right syntax to use near 'lim
- MySQL server version for the right syntax to use near '-1.stu stu0_' at line 1
- Hibernate初运行异常---:MySQL server version for the right syntax to use near 'type=InnoDB'
- 插入mysql语句报错:1064 - 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
- CHECK the manual that corresponds TO your MySQL SERVER VERSION FOR the RIGHT syntax TO USE near.....
- MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=DEFAULT' at line 1