SyntaxFix
Write A Post
Hire A Developer
Questions
Use the --force (-f) flag on your mysql import. Rather than stopping on the offending statement, MySQL will continue and just log the errors to the console.
--force
-f
For example:
mysql -u userName -p -f -D dbName < script.sql