Error 1822: Failed to add the foreign key constaint. Missing index for constraint in the referenced
Error Code
SQLSTATE
Error
Description
1822
HY000
ER_FK_NO_INDEX_PARENT
Failed to add the foreign key constaint. Missing index for constraint '%s' in the referenced 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 1821: Failed to add the foreign key constaint. Missing index for constraint in the foreign tabNextError 1823: Failed to add the foreign key constraint to system tables
Last updated
Was this helpful?