If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading to 1.5.x / copy of database

copy of database

Started by stevie_b on 28 May 2012, 11:32 PM · Views: 684

Results 1 to 2 of 2
28 May 2012, 11:32 PM
#1
stevie_b avatar

stevie_b

New Zenner

Join Date:
May 2012
Posts:
6
Plugin Contributions:
0

copy of database

Hello all, I'm using phpMyAdmin v3.44 and mySQL v5.1.57 and I want to create a copy of my db 'mydb_aa'.

I export my mydb_aa, create another db 'mydb_bu' and try to import the data and I get an error saying mydb_aa can't import into mydb_bu.

I changed all of the occurrences of mydb_aa to mydb_bu and tried to import the data and I get an error message that says database exists.

Can someone please point me in the right direction? Thank You very much in advance

29 May 2012, 12:21 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: copy of database

You haven't selected the best settings when doing your export. Select your database from the left pulldown BEFORE clicking on the Export option.
Explained here: http://www.zen-cart.com/content.php?144-how-can-i-do-a-database-backup-with-phpmyadmin

.
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.