问题描述
使用navicat直接运行sql文件报错1064:
[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 ';
但是如果直接把sql文件中的文本复制到navicat就可以正常运行了
相关代码
执行的提示错误地方的sql如下:
ALTER TABLE `t_blog` ADD `temp' at line 1
[ERR] /*
环境
windows7(64位)
mysql-5.7.22(64位)
navicat-12.0.18(64位)
我感觉应该是navicat版本bug