MySQL Forums
Forum List  »  InnoDB

Re: ERROR: Error 1452: Cannot add or update a child row: a foreign key constraint fails
Posted by: Lee-Ann Lee-Ann
Date: April 19, 2010 11:30PM

Hi Chad

Thank you for your reply. I have not yet written the front end of the system, and am trying to populate the tables with some data. Should I remove all the constraints (FK) and then populate the tables with data then put the constraints back? Apologies if the question seems silly - I am a complete newby to mySql.

Thanking you
Kind regards
Lee-Ann

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: ERROR: Error 1452: Cannot add or update a child row: a foreign key constraint fails
3155
April 19, 2010 11:30PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.