mysql error dont understand what it is saying

Posted by sea_1987 on Stack Overflow See other posts from Stack Overflow or by sea_1987
Published on 2010-05-27T20:59:56Z Indexed on 2010/05/27 21:01 UTC
Read the original article Hit count: 147

Filed under:
Cannot add or update a child row: a foreign key constraint fails (`mydb`.`job_listing_has_employer_details`, CONSTRAINT `job_listing_has_employer_details_ibfk_2` FOREIGN KEY (`employer_details_id`) REFERENCES `employer_details` (`id`))

INSERT INTO `job_listing_has_employer_details` (`job_listing_id`, `employer_details_id`) VALUES (6, '5')

What does this mean? The two ID's I am inserting into the table exsist.

© Stack Overflow or respective owner

Related posts about mysql