[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL s
2016-12-02 17:07:4510752
[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 中執(zhí)行SQL語(yǔ)句時(shí)提示此錯(cuò)誤,在CMD中執(zhí)行SQL文件中的語(yǔ)句時(shí)提示以下錯(cuò)誤:
D:UsersAven>mysql -uroot -p < F:PublishDatashare_update.sql
Warning: Using a password on the command line interface can be insecure.
ERROR 1064 (42000) at line 4: You have an error in your SQL syntax; check the ma
nual that corresponds to your MySQL server version for the right syntax to use n
ear 'ALTER聽(tīng)TABLE聽(tīng)mcu聽(tīng)CHANGE聽(tīng)`LOCAL_ID`聽(tīng)`LOCAL_ID`聽(tīng)VARchar(50)聽(tīng)'
at line 1