Error 1557: Upholding foreign key constraints for table, entry, key would lead to a duplicate entry

Error Code
SQLSTATE
Error
Description

1557

23000

ER_FOREIGN_DUPLICATE_KEY

Upholding foreign key constraints for table '%s', entry '%s', key %d would lead to a duplicate entry

Possible Causes and Solutions

This page is licensed: CC BY-SA / Gnu FDL

Last updated

Was this helpful?