mysqldude
Error codes › 1557

MySQL & MariaDB error 1557 ER_FOREIGN_DUPLICATE_KEY_OLD_UNUSED

MySQLUpholding foreign key constraints for table '…', entry '…', key … would lead to a duplicate entry
MariaDBYou should never see it
MySQLMariaDB
SymbolER_FOREIGN_DUPLICATE_KEY_OLD_UNUSEDER_UNUSED_4
SQLSTATE23000HY000
TypeServer errorServer error
Versionssince 5.1.77 activeevery release since 5.5; now an unused placeholder obsolete
How the message changed between versions
MySQL fromSymbolMessage
5.1.77ER_FOREIGN_DUPLICATE_KEYUpholding foreign key constraints for table '%.192s', entry '%-.192s', key %d would lead to a duplicate entry
5.6.51ER_FOREIGN_DUPLICATE_KEY_OLD_UNUSEDUpholding foreign key constraints for table '%.192s', entry '%-.192s', key %d would lead to a duplicate entry
MariaDB fromSymbolMessage
5.5.68ER_FOREIGN_DUPLICATE_KEYUpholding foreign key constraints for table '%.192s', entry '%-.192s', key %d would lead to a duplicate entry
10.0.38ER_UNUSED_4You should never see it