Mysql – Unknown command error while restoring database from MySQL dump

MySQL

I am using MySQL 5.1.36. While importing form a MySQL dump
I am getting the following error. The 'max_allowed_packet' size is set to 100M in the my.cnf.

ERROR at line 1647: Unknown command '\''.

Can you please tell me what could be the issue ?

Warm Regards

Supratik

Best Answer

If you have binary data use the mysqldump parameter --hex-blob.