Error 1821: Failed to add the foreign key constraint. Missing index for constraint in the foreign ta
Error Code
SQLSTATE
Error
Description
1821
HY000
ER_FK_NO_INDEX_CHILD
Failed to add the foreign key constraint. Missing index for constraint '%s' in the foreign table '%s'
Possible Causes and Solutions
This article has no content. You can help!
This page is licensed: CC BY-SA / Gnu FDL
PreviousError 1820: You must SET PASSWORD before executing this statement
NextError 1822: Failed to add the foreign key constraint. Missing index for constraint in the referenced
Last updated
Was this helpful?

