MariaDB Error 1851 – ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECK

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

Maria DB Error Description

MariaDB Error 1851 – ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECK with the sqlState HY000

Error Description for the MariaDB Error ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECK

Adding foreign keys needs foreign_key_checks=OFF