Error codes › 3780
MySQL error 3780 ER_FK_INCOMPATIBLE_COLUMNS
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) | Symbol | ER_FK_INCOMPATIBLE_COLUMNS |
|---|---|
| SQLSTATE | HY000 |
| Type | Server error |
| Versions | since 8.0.16 active |