Error 1821: Failed to add the foreign key constaint. Missing index for constraint in the foreign table

Error CodeSQLSTATEErrorDescription
1821HY000ER_FK_NO_INDEX_CHILDFailed 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!

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.