I use mysqldump to backup my mysql database. The problem is that the sql file generated by mysqldump doesn't escapes single quotes properly.
Here is an example of the mysqldump generated sql script :
INSERT INTO `someTable` VALUES (1,'This ain\'t escaped correctly');
That single quote escaping in "ain't" doesn't work and it makes the rest of the script being inside that string. Is there a way around this?