Amos的随笔

Java/Python/Go,软件测试等等

导航

2017年9月1日 #

MySQL删除表提示Cannot truncate a table referenced in a foreign key constraint解决办法

摘要: 背景 因为测试过程中,几套环境都是用的同一个库,数据有点冲突,需要删库。 执行truncate table xxx时提示: [Err] 1701 -Cannot truncate a table referenced in a foreign key constraint … 解决办法 删除之前先执 阅读全文

posted @ 2017-09-01 19:11 AmosChen 阅读(36) 评论(0) 推荐(0)