forums › forums › SQLyog › Sync tools, Migration, Scheduled Backup and Notifications › Error No. 1216
- This topic is empty.
-
AuthorPosts
-
-
June 28, 2007 at 6:56 am #10419jlamarqueMember
Hello,
despite the fact I put
in my xml file, I have this message in my log when I synchronize 2 databases Error No. 1216 Cannot add or update a child row: a foreign key constraint fails
Have you got any solution for me ?
Thanks for advance,
-
June 28, 2007 at 8:21 am #24406peterlaursenParticipant
“I have this message in my log” .. you are sure this is not an old message?
will not check for FK will do reverse .. so you should not have this!
If the problem is as described we will need a more detailed test case (tables + jobfile).
You can create a ticket with the details if you don't want to expose here. You may also 'fake' passwords etc.
-
June 29, 2007 at 7:14 am #24407jlamarqueMember
I have always this message and some of my lines don't be synchronized.
I put my xml file in attachment.
Maybe it's because of my old mysql version (4.1.9) ?
-
June 29, 2007 at 7:52 am #24408peterlaursenParticipant
I cannot tell if ther is sosme bug with InnoDB in that specific MySQL version!
basically MySQL 4.1 before 4.1.12 should ALWAYS be upgraded!
We need a SQL-dump of the tables too. And consider using the ticket system and not the Forums! I also think you have exposed a little too much details in that XML you posted!
-
July 5, 2007 at 8:51 am #24409jlamarqueMember
So, I advance in my tests, I now work with MySql 4.1.22, and I conclude that the problem comes from the http tunnel.
In fact, I test the same synchronisation without (it works fine) and with the tunnel (the foreign key constraint fails appear in the yogtunnel.log).
Have you an idea (My SqlYog version is 5.21) ?
Thanks
peterlaursen wrote on Jun 29 2007, 09:52 AM:I cannot tell if ther is sosme bug with InnoDB in that specific MySQL version!basically MySQL 4.1 before 4.1.12 should ALWAYS be upgraded!
We need a SQL-dump of the tables too. And consider using the ticket system and not the Forums! I also think you have exposed a little too much details in that XML you posted!
-
July 5, 2007 at 11:37 am #24410peterlaursenParticipant
As always we request that you test issues with the latest available stable SQLyog version!
-
-
AuthorPosts
- You must be logged in to reply to this topic.