MySQL错误代码:1452 Cannot add or update a child row: a foreign key constraint fails
查询:ALTER TABLE score ADD FOREIGN KEY(movie_id) REFERENCES `movie` (id) 错误代码: 1452
Cannot add or update a child row: a foreign key constraint fails (`mydb`.`#sql-1118_1`, CONSTRAINT `#sql-1118_1_ibfk_...
原创
2020-04-06 10:18:33 ·
1210 阅读 ·
3 评论