If you receive some errors such as the following when trying to import your mysql database dump you are most likely attempting to dump a database from a newer version of MySQL and import it into an older version:
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 âDEFAULT CHARSET=latin1â²
OR
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 âDEFAULT CHARSET=utf-8â²
Solution?
Add the following parameter to your msyqldump statement:
âcompatible=mysql40