I have a sql file name live.sql and I want import in my DB in heidiSQL
but when I am going import this file, it gives a following error.
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
How can I fix this error?
The error means that the sql query is incorrect. Comment out line number 1, by adding 2 dashes (--) at the start of the line.