mysql Cannot delete or update a parent row: a foreign key constraint fails处理
mysql> DROP TABLE IF EXISTS `user`;
ERROR 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails (`rhodecode`.`repo_to_perm`, CONSTRAINT `repo_to_perm_ibfk_3` FOREIGN KEY (`repository_id`) REFERENCES `repositories` (`repo_id`))