mysqldude
Error codes › 3780

MySQL error 3780 ER_FK_INCOMPATIBLE_COLUMNS

Error messageReferencing column '…' and referenced column '…' in foreign key constraint '…' are incompatible.
Example from our test runs: Referencing column 'parent_id' and referenced column 'id' in foreign key constraint 'child_ibfk_1' are incompatible. (8.0.46)
SymbolER_FK_INCOMPATIBLE_COLUMNS
SQLSTATEHY000
TypeServer error
Versionssince 8.0.16 active