I have an old and a new magento installation(same version). Both are using the same mysql user and password. I'm trying to copy a few tables from the old one to the new one(trough SSH - using Putty):
INSERT INTO magento_n.eav_entity_store SELECT * FROM magento_o.eav_entity_store;
It worked for a few tables but for this table i get this error:
ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`magento_n`.`eav_entity_store`, CONSTRAINT `FK_EAV_ENTITY_STORE_STORE_ID_CORE_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCE `core_store` (`store_id`) ON DELETE CASCADE ON UPDATE)
I do not understand this error(i have a table called core_store that has two records one has the id
0 the other one has the id
1). What should/can i do in this case?
Thank you! :D