Cannot add or update a child row:

两个 表 数据 不一致。。。

含有 约束 的 表 中 所有 id 都应该 在 主 表 中 可以 找到---

原文地址:https://www.cnblogs.com/whm-blog/p/7390171.html