I have a mysql dump file created by outdated MySQL version. I have no access to that server (console).
If i use this command on my current server:
mysql -u user -p dbname < dump.sql
I get this error:
ERROR 1064 (42000) at line 12547: 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 '' at line 1
Of course i cannot show this file, but i stacked searching solution. I need to import this file into my current database.
P.S. Source database may have non-utf charset, but current has one.
What should i do? Thank you very much!