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

Last updated

Was this helpful?