Skip to content

Instantly share code, notes, and snippets.

@tecmec
Created August 4, 2012 07:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tecmec/3255405 to your computer and use it in GitHub Desktop.
Save tecmec/3255405 to your computer and use it in GitHub Desktop.
SQL Error #1452
# MySQL said: Documentation
#1452 - Cannot add or update a child row: a foreign key constraint fails (`db123456/#sql123456`, CONSTRAINT `FK_EAV_ENTITY_ATTRIBUTE_ATTRIBUTE` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment