mysql 报错整理

数据表 添加外键失败

 SQL错误(1452):Cannot add or update a child row: a foreign key constraint
1, 表里已存在的值和关联表不匹配,如表里id为10,关联表没有10

posted on 2024-01-19 02:44  完美前端  阅读(5)  评论(0)    收藏  举报

导航