解决方法: mysql> SET foreign_key_checks=0; 删除后 mysql> SET foreign_key_checks=1; 转载于:https://my.oschina.net/dope2008/blog/330142