This is a discussion on Upgrading an old OSC pre MS1 to OscMax v2. within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Has anyone had any luck moving over their customer databases from an old store to a new install. I would ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Has anyone had any luck moving over their customer databases from an old store to a new install. I would really like to upgrade to OscMax but I also have a customer base of 11,000 that I really want to move with me. In a perfect world I would also like to move their order history as well. I understand that may be much harder so I can live without that if I have to. Any suggestions or instrustions would be greatly appreciated. Josh |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| Josh, It is not too difficult with the right tools. Grab a copy of mysqldiff and you should be able to do a structure upgrade without too much trouble. The steps are as follows: 1. Make a duplicate of your original, and use this to do all your work on. (obvious, but I want to make sure). 2. Get Mysqldiff and install it. Then run it, comparing the duplicate against a stock osCMax2 database to get a sql batch file that will allow you to upgrade the structure of your duplicate to osCMax. Run the batch file on your duplicate database, upgrading the structure. 3. Once completed, export your upgraded product, customer, order data to an sql batch file, then run that on the osCMax database. 4. Check to make sure everything is happy. Done. I have simplified the process, and most likely you will run into some problems while upgrading the addressbook table, as the primary key has changed from MS1 to MS2, which my cause your upgrade batch file to choke. If that happens, you will have to manually remove the primary key, and do a little data fixing by hand... Good luck!
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Sounds great. Thanks for the suggestion. I will give it a try. |
|
#4
| ||||
| ||||
| I have done it many times, so if you get stuck somewhere, come back for assistance.
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| In another thread, I looked at this with a more primitive tool, a regular file compare tool. What I remember is that it looks like there is one primary key that has changed, but that most of the diffs are new tables and fields in the new version's database. That thread is, as above, "Database Structure Comparison OSCMax 1.7 vs. 2RC2" If I can get away with it, I am just gonna export my old database with complete and extended inserts, and try to stuff it into the new database. K |
|
#6
| ||||
| ||||
| No harm in trying - just backup first!
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#7
| |||
| |||
| I've followed this guide, i've got the catalog etc exported, but all the prices are 0, Any ideas what could cause this? Thanks James |
|
#8
| ||||
| ||||
| If prices are ZERO then somthing did not work with MYSQLDIFF - if you did not use it (use a file diff tool) -then that would be the reason. Reinstall mysqldiff and try again... |
|
#9
| |||
| |||
| OK, help please. 1. How do I make a copy of the original database? 2. Where do I install Mysqldiff? 2. Where do the two databases need to be to be seen by Mysqldiff? Thanks
__________________ Learning osCommerce - a lifelong project? |
|
#10
| |||
| |||
| I am in the process of doing this also, and I just did it the hard way, compared new database, with old, modifing old, then inserting in to new. A pain in the butt, but so far so good... |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Upgrading from MAX v1.7 to v2.0 | rbudj | osCMax v1.7 Discussion | 1 | 08-06-2005 11:20 PM |
| Upgrading from osCommerce to OscMAX | pixtonjp | osCMax v1.7 Installation | 2 | 05-18-2005 10:43 AM |
| Upgrading a modified OSCMAX 1.5.5 to 1.7 | icecold | osCMax v1.7 Installation | 1 | 04-07-2005 02:52 PM |
| upgrading 2.2 >> 2.2ms PLEASE HELP | Rodland | osCommerce 2.2 Installation Help | 3 | 04-02-2003 06:23 AM |
| Upgrading from 2.1 to 2.2 | Anonymous | osCommerce 2.2 Installation Help | 1 | 11-19-2002 03:31 PM |