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