摘要: 在MySQL中删除一张表或一条数据的时候,出现 [Err] 1451 -Cannot delete or update a parent row: a foreign key constraint fails (...) 这是因为MySQL中设置了foreign key关联,造成无法更新或删除数据。 阅读全文
posted @ 2016-10-17 11:33 郑彦彬 阅读(172) 评论(0) 推荐(0) 编辑