求助:myslq同步从库报1452错误 如下 怎么解决呢?

[复制链接]
查看11 | 回复0 | 2021-1-27 06:45:09 | 显示全部楼层 |阅读模式
15072017:00:20[ERROR]SlaveSQL:Error'Cannotaddorupdateachildrow:aforeignkeyconstraintfails(`yt_dbs`.`retailorderproductinfo`,CONSTRAINT`FK_lbiby5lchp9h9cf8m94cwvvfy`FOREIGNKEY(`retailClassValue_id`)REFERENCES`retailproducttypevalue`(`id`))'onquery.Defaultdatabase:'yt_dbs'.Query:'insertintoRetailOrderProductInfo(consumptionInfo,content,createDate,productQuantity,retailProductName,retailProductNumber,retailProductType,retailClassValue_id,retailProductUnitPrice,state)values('


','','2015-07-2017:04:36.0',1,'赵家水果','YT25049887999','',9,28.7,'努力发货中')',Error_code:1452
分 -->
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行