Cannot add or update a child row: a foreign key constraint fails (zqbp
.zqbp_custom
, CONSTRAINT zqbp_custom_ibfk_1
FOREIGN KEY (custom_trade
) REFERENCES zqbp_industry
(industry_id
))
《《《《《《《《《《《《《《《《《《《《《《《《《
zqbp_custom_ibfk_1这是什么?我明白这是外键约束的异常,但是不明白为什么给zqbp_custom加上_ibfk_1?
外鍵約束啊, 一般就是外鍵錯誤了