Synchronization Wizard MySQL statements produce error
Posted: Sat 28 Aug 2010 02:10
I’m trying to compare two databases using dbForge MySQL. I managed to sync two database schemas with dbForge which went well. So then then next step I tried to do was sync the data of two databases.
I have the snapshots of what I see on my blog here:
http://blog.tutorialref.com/mysql/mysql ... s-224.html
When I try and execute the MySQL statements produced by the Synchronization Wizard I receive an error. The error is that one or more of the columns does not have a default value. So this statement:
gives me the error. The workaround is to change the above to:
But I think the Synchronization Wizard should do this automatically. Is this a bug in the pro version 3.60.379? Is this fixed in the latest version?
Much thanks,
Victor[/code]
I have the snapshots of what I see on my blog here:
http://blog.tutorialref.com/mysql/mysql ... s-224.html
When I try and execute the MySQL statements produced by the Synchronization Wizard I receive an error. The error is that one or more of the columns does not have a default value. So this statement:
Code: Select all
INSERT INTO ratings(id, rating) VALUES (62, 2);
INSERT INTO ratings(id, rating) VALUES (61, 4);
INSERT INTO ratings(id, rating) VALUES (63, 3);Code: Select all
INSERT INTO ratings(id, rating, div_id, ip) VALUES (62, 2, '', '');
INSERT INTO ratings (id, rating, div_id, ip) VALUES (61, 4, '', '');
INSERT INTO ratings (id, rating, div_id, ip) VALUES (63, 3, '', '');Much thanks,
Victor[/code]