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

spinner

Last updated

Was this helpful?