你的字符前有特殊字符,建议检查一下。或者你可以试下 DROP TABLE IF EXISTS `ecs_ylaccount_log`;看是否正常,如果正常,检查一下你的源文件中的特殊符号!
这个和前面的没什么区别啊,符号复制后还是一样 源文件中没出有什么特殊符号。 另外它提示的是第一句符合有语法错误,第一句就是DROP TABLE IF EXISTS `ecs_ylaccount_log`; 实在看不出到底哪错了
DROP TABLE IF EXISTS `ecs_ylaccount_log`; 复制这一句然后,如下贴出你的运行结果。mysql> DROP TABLE IF EXISTS `ecs_ylaccount_log` x; ERROR 1064 (42000): 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 'x' at line 1 mysql>
还是提示: 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 'mysql> DROP TABLE IF EXISTS `ecs_ylaccount_log` x' at line 1
DROP TABLE IF EXISTS `ecs_ylaccount_log`; 复制这一句然后,如下贴出你的运行结果。 老兄,能按照指示操作吗????
不好意思,刚才有点着急 复制“DROP TABLE IF EXISTS `ecs_ylaccount_log`;” 运行成功,没什么问题
我的也出现这样的问题哈! 我的data文件在 e:\javacodes\jsp\bstest\data里边,在命令行窗口里我执行 \. e:\\javacodes\\jsp\\bstest\\data\\books.sql 然后回车,这个文件创建的数据库不能导入数据库啊??????? 提示:You hava an error in your SQL syntax ;check the manual that corresponds to your SQL server version for the right syntax near '{id int not null primary key,title varchar(50) not null}' 我该怎么解决呢?
DROP TABLE IF EXISTS `ecs_ylaccount_log`;看是否正常,如果正常,检查一下你的源文件中的特殊符号!
源文件中没出有什么特殊符号。
另外它提示的是第一句符合有语法错误,第一句就是DROP TABLE IF EXISTS `ecs_ylaccount_log`;
实在看不出到底哪错了
复制这一句然后,如下贴出你的运行结果。mysql> DROP TABLE IF EXISTS `ecs_ylaccount_log` x;
ERROR 1064 (42000): 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 'x' at
line 1
mysql>
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 'mysql> DROP TABLE IF EXISTS `ecs_ylaccount_log` x' at line 1
复制这一句然后,如下贴出你的运行结果。
老兄,能按照指示操作吗????
复制“DROP TABLE IF EXISTS `ecs_ylaccount_log`;”
运行成功,没什么问题