Re: mysqldump not escaping single quotes in field data

2012-06-16 Thread Ananda Kumar
mailto:j...@newcenturydata.com] > > Sent: Friday, June 15, 2012 10:19 AM > > To: mysql@lists.mysql.com > > Subject: mysqldump not escaping single quotes in field data > > > > My backups from a mysqldump process are useless, because the dump files > > are not escaping

RE: mysqldump not escaping single quotes in field data

2012-06-15 Thread Rick James
Are you using an abnormal CHARACTER SET or COLLATION? SHOW CREATE TABLE Show us the args to mysqldump. > -Original Message- > From: James W. McNeely [mailto:j...@newcenturydata.com] > Sent: Friday, June 15, 2012 10:19 AM > To: mysql@lists.mysql.com > Subject: mysqldump not

Re: mysqldump not escaping single quotes in field data

2012-06-15 Thread Ananda Kumar
I have mysql 5.5. I am able to use mysqldump to export data with quotes and the dump had escape character as seen below LOCK TABLES `ananda` WRITE; /*!4 ALTER TABLE `ananda` DISABLE KEYS */; INSERT INTO `ananda` VALUES (1,'ananda'),(2,'aditi'),(3,'thims'),(2,'aditi'),(3,'thims'),(2,'aditi'),(3

mysqldump not escaping single quotes in field data

2012-06-15 Thread James W. McNeely
My backups from a mysqldump process are useless, because the dump files are not escaping single quotes in the data in the fields. So, O'Brien kills it - instead of spitting out 'O\'Brien' it spits out 'O'Brien' I don't see anywhere in the documentation about mysqldump where you can tweak th