Skip to content

Integrity constraint violation: 1452 Cannot add or update a child row #631

Closed
@Shane1812

Description

@Shane1812

migrate data from magento 1.9.2.4 to magento2.26

Steps to reproduce

  1. I test my migration tool from a copy database on local successfully.then try to migrate the data from a live database to another live database,and it failure.
  2. I can not find the table 'catalog_product_entity_varchar' on magento 1 so I am not sure what's the
    process of migration.Please help

[2018-12-18 12:17:42][INFO][mode: data][stage: data migration][step: Map Step]: started
12% [===>------------------------] Remaining Time: 1 hr

[PDOException]
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fai
ls (dbname.catalog_product_entity_varchar, CONSTRAINT CAT_PRD_ENTT_VCHR_ATTR_ID_EAV_ATTR_A TTR_ID FOREIGN KEY (attribute_id) REFERENCES eav_attribute (attribute_id))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions