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 page is licensed: CC BY-SA / Gnu FDL

Last updated

Was this helpful?