Zen Cart Logo
Forums / General Questions / install zen cart with old database

install zen cart with old database

Locked

Views: 1,834

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
19 Oct 2009, 5:49 AM
#1
chadkan avatar

chadkan

New Zenner

Join Date:
Oct 2009
Posts:
1
Plugin Contributions:
0

install zen cart with old database

I installed zencart and put about 90 products on it and backed up my database but my site had major problems now the store is not correct. I reinstalled zen cart on a new domain and I want to use the old database so I dont have to redo all the work. Is there an easy way to get zen cart to point to the old database instead of the one it creates when you install it. Where do I copy the database to or how do I get this working. Thanks so much.

19 Oct 2009, 8:29 AM
#2
tino_schlegel avatar

tino_schlegel

Totally Zenned

Join Date:
Nov 2007
Location:
Melbourne, Australia
Posts:
532
Plugin Contributions:
0

Re: install zen cart with old database

  1. Export the old database with MyPhPAdmin

  2. Drop all tables in the database of the new Zencart installation (Backup before if you think you might need it later)

  3. Import the database backup into the new emtpy database.

  4. Done

19 Oct 2009, 11:21 PM
#3
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,290
Plugin Contributions:
39

Re: install zen cart with old database

tino.schlegel:

  1. Export the old database with MyPhPAdmin

  2. Drop all tables in the database of the new Zencart installation (Backup before if you think you might need it later)

  3. Import the database backup into the new emtpy database.

  4. Done

You will have to edit your configure files if the database user, prefix, host, name or password is not the same.

~Melanie