[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 ''<h2 style="text-align: center;">php实现 字符串分割</h' at line 1
一、总结
一句话总结:我本来都是直接打开sql复制里面的内容到mysql中执行,这次是用nodepad++,所以出错。这不是错误,1064是语法错误。
二、[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL s
[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 at line 3
MySQL 5.6,Navicat For MySQL 10.0.10 中执行SQL语句时提示此错误,在CMD中执行SQL文件中的语句时提示以下错误:
1 D:\Users\Aven>mysql -uroot -p < F:\Publish\Data\share_update.sql
2 Warning: Using a password on the command line interface can be insecure.
3 ERROR 1064 (42000) at line 4: You have an error in your SQL syntax; check<