Error 1821: Failed to add the foreign key constaint. Missing index for constraint in the foreign tab
Error Code
SQLSTATE
Error
Description
1821
HY000
ER_FK_NO_INDEX_CHILD
Failed to add the foreign key constaint. Missing index for constraint '%s' in the foreign table '%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 1820: You must SET PASSWORD before executing this statementNextError 1822: Failed to add the foreign key constaint. Missing index for constraint in the referenced
Last updated
Was this helpful?