0
我們有一個Magento 1.3項目,我們希望它將其升級到magento 1.6。 所以我們安裝一個新的magento 1.6,現在我們要把所有的產品和客戶數據從maganeto 1.3放到magento 1.6。我們從magento 1.3備份其數據庫表中的所有產品和客戶數據。將Magento 1.3數據遷移/替換爲maganeto 1.6
這些都是我們備份的DATAS表:
-------------------------------------
Product Tables:
-------------------------------------
catalogrule/
catalogrule_product/
catalogrule_product_price/
catalogrule_affected_product/
catalogindex_price/
catalogindex_eav/
catalogindex_minimal_price/
catalogindex_aggregation_tag/
catalogindex_aggregation/
catalogindex_aggregation_to_tag/
catalogsearch_query/
catalogsearch_fulltext/
catalogsearch_result/
catalog_compare_item/
catalog_category_product/
catalog_category_product_index/
catalog_category_flat_1/
catalog_product_entity_tier_price/
catalog_product_enabled_index/
catalog_product_website/
catalog_category_entity/
catalog_category_entity_datetime/
catalog_category_entity_decimal/
catalog_category_entity_int/
catalog_category_entity_text/
catalog_category_entity_varchar/
catalog_product_entity/
catalog_product_entity_datetime/
catalog_product_entity_decimal/
catalog_product_entity_gallery/
catalog_product_entity_int/
catalog_product_entity_media_gallery/
catalog_product_entity_media_gallery_value/
catalog_product_entity_text/
catalog_product_entity_varchar/
catalog_product_super_link/
catalog_product_link_type/
catalog_product_link/
catalog_product_link_attribute/
catalog_product_link_attribute_decimal/
catalog_product_link_attribute_int/
catalog_product_link_attribute_varchar/
catalog_product_option/
catalog_product_option_title/
catalog_product_option_price/
catalog_product_option_type_value/
catalog_product_option_type_title/
catalog_product_option_type_price/
cataloginventory_stock/
cataloginventory_stock_status/
cataloginventory_stock_item/
catalog_product_bundle_option/
catalog_product_bundle_option_value/
catalog_product_bundle_selection/
catalog_product_bundle_price_index/
catalog_product_super_attribute //
catalog_product_super_attribute_label/
catalog_product_super_attribute_pricing/
product_alert_price/
product_alert_stock/
downloadable_link_price/
downloadable_link_title/
downloadable_link/
downloadable_sample_title/
downloadable_sample/
----------------------------------------------
Customers Tables :
----------------------------------------------
customer_group/
newsletter_template/
newsletter_queue/
newsletter_queue_store_link/
newsletter_problem/
newsletter_queue_link/
newsletter_subscriber/
customer_entity/
customer_entity_datetime/
customer_entity_decimal/
customer_entity_int/
customer_entity_text/
customer_entity_varchar/
customer_address_entity/
customer_address_entity_datetime/
customer_address_entity_decimal/
customer_address_entity_int/
customer_address_entity_text/
customer_address_entity_varchar/
review_entity/
review_status/
review/
review_store/
review_entity_summary/
review_detail/
rating_entity/
rating/
rating_store/
rating_option
rating_option_vote/
rating_title/
rating_option_vote_aggregated/
poll/
poll_store/
poll_answer/
poll_vote/
wishlist/
wishlist_item/
然後,我們刪除其數據庫表中的所有產品和客戶數據,Magento的1.6。現在,當我們從Magento的1.3備份數據恢復到1.6,我們得到了這個錯誤...
Query:
/*Data for the table `catalog_category_entity` */
insert into `catalog_category_entity`(...)
Error occured at:2012-09-12 14:05:06
Line no.:20
Error Code: 1062 - Duplicate entry '1' for key 'PRIMARY'
我只是想知道的是,爲什麼它成爲「主鍵重複的條目」當我刪除了所有magento 1.6中的舊數據?
有沒有人有關於我的情況的想法?您能否再給我一個關於如何將所有產品和客戶數據從magento 1.3轉移到1.6的想法?
任何幫助將不勝感激。在此先感謝...