Ligue as chaves estrangeiras, verifique o mysql

SET FOREIGN_KEY_CHECKS=0;
Uptight Unicorn