我有一个名为 live.sql 的 sql 文件,我想在 heidiSQL
中导入我的数据库,但是当我导入此文件时,它会出现以下错误。
SQL Error (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 'þFFvar/www/html/live/databases/012017/live_01_11_2017.sql
' at line 1
如何修复此错误?
最佳答案
该错误表示sql查询不正确。通过在行首添加 2 个破折号 (--) 注释掉第 1 行。
关于php - SQL错误(1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41693746/