2016-03-18 57 views
0

嗨,大家好,我想從我的Magento安裝中有一個出口類別,並導入到其他:導入/導出Magento的類別

版本的出口是進口1.9.2.1和1.9.2.4,所以應該有幾乎相同的數據庫結構。

我需要輸出哪些表格以將它們在1.9.2.1中的類別「轉移」到1.9.2.4 magento。

所以,我想我所追求的是我必須從我的Magento中導出我需要的類別的表格列表?

我剛纔嘗試以下,但沒有奏效:

首先把數據只轉儲表:

dumped tables

然後我就去truncuated如下:

SET FOREIGN_KEY_CHECKS = 0; 
TRUNCATE TABLE `catalog_category_entity`; 
TRUNCATE TABLE `catalog_category_entity_datetime`; 
TRUNCATE TABLE `catalog_category_entity_decimal`; 
TRUNCATE TABLE `catalog_category_entity_int`; 
TRUNCATE TABLE `catalog_category_entity_text`; 
TRUNCATE TABLE `catalog_category_entity_varchar`; 
TRUNCATE TABLE `catalog_category_product`; 
TRUNCATE TABLE `catalog_category_product_index`; 

SET FOREIGN_KEY_CHECKS = 1; 

然後使用mysql命令從轉儲中恢復我跑我的轉儲。

現在進入後臺管理分類頁面將會顯示所有的好笑:

category page

回答