So here is what I did ... I have never done anything like this before, so dont take what I say for granted ... I didnt see any 'step-by-step' instructions like so many other threads, I thought I'd try to contribute to what I have found to be a wonderful community.
Notes:
- I am unsure of any DB changed between versions
- I transferred my database from 1.3.8a to 1.3.9d
- I used myphpadmin on my hosts cpanel
- PHP version is 5.2.13
- SQL version is MySQL 5.1.47
- we are assuming you are transferring data into a CLEAN database (that has no customers)
CAUTIONS!
- BACKUP your database before you do ANYTHING!
To transfer customers from one database to another:
STEP 1
- Access your phpMyAdmin
- click on the 'Databases' tab at the top of the screen
- click on the name of the database from the list
- Click on the 'Export' tab at the top of the screen
- Select the database tables from the top left of the screen (its labelled Select All / Unselect All) - you can select more then one table at the same time by using CTRL (i selected the 3 tables suggested by Ajeh)
- Leave all other settings as their defaults
- Note - At the lower right of the screen is a drop-down field (defaults to INSERT) labelled, Export Type. There are 3 options, fairly self-explanatory ... we want to INSERT these records into a new database
- Click on the GO button at the lower right of the screen - the file will be downloaded to your computer
Congratulations - you have so far managed to collect the Customers details from the database you no longer need
Lets transfer them (or INSERT them) into the new database ...
Note - if both databases are hosted by the same host, then you can follow these instructions directly - otherwise you will need to repeat steps 1-3 and in step 3, select the new database
STEP 2
- From the very top left of the screen, beneath the phpMyAdmin logo, use the drop down to select the database for which you want to INSERT the customers details
- Click on the Import tab at the top of the screen
- In the section labelled 'File to import' click on the 'Choose File' button and browse to the downloaded SQL file
- leave all other settings as their Defaults
- Click on the GO button at the lower right of the screen
- You will either see an fairly obvious error message, or a small green notification bar at the top of the screen "Import has been successfully finished, xx queries executed"
Checking to make sure
- from the list of database tables on the left side of the screen, click on address_book
- You should see the details of the customers you imported
- Using an account you created in the original database (surely you created an account for yourself), try logging in to the new version of your shopping cart, complete with imported customers.
STEP 3
:clap:
Have a beer, feel happy ... you've successfully copied your customers data from one database to another