mysqldude
Error codes › 6125

MySQL error 6125 ER_FK_NO_UNIQUE_INDEX_PARENT

Error messageFailed to add the foreign key constraint. Missing unique key for constraint '…' in the referenced table '…'
Example from our test runs: Failed to add the foreign key constraint. Missing unique key for constraint 'c2_ibfk_1' in the referenced table 'p2' (8.4.13)
SymbolER_FK_NO_UNIQUE_INDEX_PARENT
SQLSTATEHY000
TypeServer error
Versionssince 8.4.0 active