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

Error CodeSQLSTATEErrorDescription
1822HY000ER_FK_NO_INDEX_PARENTFailed 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!

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.