Showing posts with label #1452 - cannot add or update a child row a foreign key constraint fails mysql. Show all posts
Showing posts with label #1452 - cannot add or update a child row a foreign key constraint fails mysql. Show all posts

Wednesday, 19 August 2015

#1452 - cannot add or update a child row a foreign key constraint fails magento


#1452 - cannot add or update a child row a foreign key constraint fails magento

Please check the child table rows, In my case there are some rows in child table which primary key field id rows not exist in main table so delet that records then try again. I hope it will help you.