Answers for "Cannot add or update a child row: a foreign key constraint fails (`acranatdb`.`#sql-3518_7f`, CONSTRAINT `#sql-3518_7f_ibfk_1` FOREIGN KEY (`author`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE)"

0

Cannot add or update a child row: a foreign key constraint fails

SET FOREIGN_KEY_CHECKS=0
Posted by: Guest on July-09-2021

Code answers related to "Cannot add or update a child row: a foreign key constraint fails (`acranatdb`.`#sql-3518_7f`, CONSTRAINT `#sql-3518_7f_ibfk_1` FOREIGN KEY (`author`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE)"

Browse Popular Code Answers by Language