执行sql文件时报错:You have an error in your SQL syntax;check the manual that corresponds to

it2025-09-29  6

执行sql文件时报错: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上各种测试,发现把文件里的双引号 全部删掉,就能成功了。直接在Nopetad++里打开sql文件 搜索双引号,替换为空 。再执行就不会报错了。

最新回复(0)