Forums | Webyog
Tools to manage and monitor MySQL databases
forums › forums › SQLyog › Using SQLyog › Sync Problem – Single Quotes
I am trying to sync 2 MYSQL DB's, but I have some varchar fields that have single quotes in them. The sync is giving errors.
Is there something I can do to correct this?
Thanks,
Alan Sawyer
What is the program version you are using?
I think I remember that this was fixed long ago.
With these data at source (note the escaped singlequote)
/*Data for the table `pladder2` */ insert into `pladder2` (`id`,`t`,`f`) values (1,'f',NULL),(3,'dd'f',NULL);
and those at target.
/*Data for the table `pladder2` */ insert into `pladder2` (`id`,`t`,`f`) values (1,'f',NULL),(3,'ddf',NULL);
it syncs OK like:
Table SrcRows TgtRows Inserted Updated Deleted ========================= ======= ======= ======== ======= ======= `pladder2` 2 2 0 1 0
Total time taken – 1 sec(s)
So I think you should just consider upgrading you old program version!
Which version of SQLyog or SJA are you using?