Error 1451: Cannot delete or update a parent row: a foreign key constraint fails
Error Code
SQLSTATE
Error
Description
1451
23000
ER_ROW_IS_REFERENCED_2
Cannot delete or update a parent row: a foreign key constraint fails (%s)
Possible Causes and Solutions
This article doesn't currently contain any content. You can help!
This page is licensed: CC BY-SA / Gnu FDL
PreviousError 1450: Changing schema from is not allowed.NextError 1452: Cannot add or update a child row: a foreign key constraint fails
Last updated
Was this helpful?