将客户和订单从1.4迁移到1.8

时间:2014-06-18 16:24:48

标签: mysql sql magento database-migration

我想将包含有关订单和客户信息的所有表格从旧数据库导出到新数据库。

所以,我尝试导出这个表:

customer_address_entity
customer_address_entity_datetime
customer_address_entity_decimal
customer_address_entity_int
customer_address_entity_text
customer_address_entity_varchar
customer_eav_attribute
customer_eav_attribute_website
customer_entity
customer_entity_datetime
customer_entity_decimal
customer_entity_int
customer_entity_text
customer_entity_varchar
customer_form_attribute
customer_group

sales_flat_order
sales_flat_order_address
sales_flat_order_grid
sales_flat_order_item
sales_flat_order_payment
sales_flat_order_status_history
sales_order_status
sales_order_status_label
sales_order_status_state
sales_order_tax
sales_order_tax_item

directory_country
directory_country_format
directory_country_region
directory_country_region_name
directory_currency_rate

catalog_eav_attribute

eav_attribute
eav_attribute_group
eav_attribute_label
eav_attribute_option
eav_attribute_option_value
eav_attribute_set
eav_entity
eav_entity_attribute
eav_entity_datetime
eav_entity_decimal
eav_entity_int
eav_entity_store
eav_entity_text
eav_entity_type
eav_entity_varchar

log_customer
newsletter_subscriber

但它不起作用,它会迁移订单和客户,但我无法创建新帐户或订购。

我需要更多或更少的餐桌吗? 您是否知道另一种简单的方法来导入/导出订单/客户?

1 个答案:

答案 0 :(得分:0)

而不是从Magento 1.4旧数据库中导出选定的表。尝试使用新的magento安装连接旧数据库。它将更新数据库,您将在新网站上获取所有数据。

在使用新的magento安装连接数据库之前,请清空所有日志表,report_compared_product_index表,report_viewed_product_index表。

希望这有帮助!!