#1062 - Duplicate entry ’1’ for key ’PRIMARY’ (Come risolvere?)
Salve, dopo l’aggiornamento del programma di e-commerce Magento ho fatto subito un backup del database per testarlo. Ora quando provo a importare il database mi da questo errore e l’import non va a buon fine. Avete idea di come si possa risolvere? Prima dell’aggiornamento l’import del database andava a buon fine.
Non me ne intendo di sql, se potete quindi gentilmente spiegarmi passo per passo come risolvere. Devo cancellare delle voci doppie nel database?
Query SQL:
Messaggio di MySQL: Documentazione
#1062 - Duplicate entry ’1’ for key ’PRIMARY’
INSERT INTO `index_event` VALUES (1,’save’,’catalog_category’,1,’2011-05-22 17:20:33’,’a:3:{s:30:\"Mage_Catalog_Model_Indexer_Url\”;N;s:43:\"Mage_Catalog_Model_Category_Indexer_Product\”;N;s:41:\"Mage_CatalogSearch_Model_Indexer_Fulltext\”;N;}’,’a:8:{s:35:\"cataloginventory_stock_match_result\”;b:0;s:34:\"catalog_product_price_match_result\”;b:0;s:24:\"catalog_url_match_result\”;b:1;s:30:\"Mage_Catalog_Model_Indexer_Url\”;N;s:37:\"catalog_category_product_match_result\”;b:1;s:43:\"Mage_Catalog_Model_Category_Indexer_Product\”;N;s:35:\"catalogsearch_fulltext_match_result\”;b:1;s:41:\"Mage_CatalogSearch_Model_Indexer_Fulltext\";N;}’),(2,’save’,’catalog_category’,2,’2011-05-22 17:20:35’,’a:3:{s:30:\"Mage_Catalog_Model_Indexer_Url\”;N;s:43:\"Mage_Catalog_Model_Category_Indexer_Product\”;N;s:41:\"Mage_CatalogSearch_Model_Indexer_Fulltext\”;N;}’,’a:8:{s:35:\"cataloginventory_stock_match_result\”;b:0;s:34:\"catalog_product_price_match_result\”;b:0;s:24:\"catalog_url_match_result\";b:1;s:30:\[...]
Subject
Views
Written By
Posted
#1062 - Duplicate entry ’1’ for key ’PRIMARY’ (Come risolvere?)
5973
January 13, 2012 05:59AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.