Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Posts
    71
    Plugin Contributions
    0

    Default Database import error

    Hello,

    When I am attempting to import the old database into a fresh install of 1.5.1, I am receiving the following error in sql:

    #1062 - Duplicate entry '9' for key 'PRIMARY'

    Then the import aborts.

    Can anyone give me any assistance on troubleshooting?

    Thanks,

    Christopher

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Database import error

    Simple: your backup needed to have the "Include DROP/CREATE TABLE" option selected when you did your backup. Explained here: http://www.zen-cart.com/content.php?...atabase-backup

    If you can't make a fresh backup, then you'll need to drop all the Zen Cart tables manually.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. database import error
    By musicfreer in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 13 Jan 2011, 04:16 PM
  2. Database Import Error
    By defchino in forum Installing on a Windows Server
    Replies: 3
    Last Post: 6 Oct 2008, 04:24 AM
  3. Database Import Error
    By bsteinagel in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 12 Sep 2008, 12:48 AM
  4. Import Database ERROR
    By carol in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 21 Oct 2007, 11:21 PM
  5. Error on Database import
    By gabenn2 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 23 May 2007, 10:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg