简体   繁体   English

如何获取此类错误的表格-SQLSTATE [23000]:违反完整性约束:1062

[英]How get table for such error - SQLSTATE[23000]: Integrity constraint violation: 1062

I'm doing migration from Magento 1.9 to 2.1. 我正在从Magento 1.9迁移到2.1。 And I get the following error 我得到以下错误

[PDOException]                                                                                                                               
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '460-13326' for key 'CAT_PRD_ENTT_MDA_GLR_VAL_TO_ENTT_VAL_ID_ENTT_ID'

How can I find which MySQL table relate to this error? 如何找到与该错误有关的MySQL表?

这是表catalog_product_entity_media_gallery_value_to_entity内的关系

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM