MariaDB Error 1822 – ER_FK_NO_INDEX_PARENT

In this post, you’ll learn more about the MariaDB Error 1822 ER_FK_NO_INDEX_PARENT with the details of the error message and why you receive this error

Maria DB Error Description

MariaDB Error 1822 – ER_FK_NO_INDEX_PARENT with the sqlState HY000

Error Description for the MariaDB Error ER_FK_NO_INDEX_PARENT

Failed to add the foreign key constaint. Missing index for constraint ‘%s’ in the referenced table ‘%s’