Run the sql file directly using navicat to report error 1064. The error message is as follows

problem description

run the sql file directly using navicat. Error 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 ";

but if you copy the text in the sql file directly to navicat, you can run normally

related codes

the error sql of the prompt executed is as follows:

ALTER TABLE `t_blog` ADD `temp" at line 1
[ERR] /*

Environment

windows7 (64 bit)
mysql-5.7.22 (64 bit)
navicat-12.0.18 (64 bit)
I think it should be navicat version bug

Jun.10,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36678-2bff6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36678-2bff6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?