Commie Posted May 21, 2003 Posted May 21, 2003 I had an older snapshot installed on another server that I no longer have access to. I had exported the data from OSC to an .sql file. I installed the latest version of OSC and want to import the .sql to the mySQL database. Will this work? Or should I install the old snapshot, import the database then upgrade? If I have to install an older snapshot where can I find them? Thanks
mattice Posted May 21, 2003 Posted May 21, 2003 It depends, if the snap is older and the db structure has changed it will NOT work and you should get the older version installed first and work from that. Or you could examine the db structure and manually / partially restore the db contents. All older versions can be retreived from the CVS server at sourceforge. http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/tep/ HTH Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them"
Commie Posted May 21, 2003 Author Posted May 21, 2003 I don't remember which version I was using but it was the beta that was just turned into a milestone. My snapshot wasn't too old. I think it was the february of this year.
kwit Posted May 21, 2003 Posted May 21, 2003 you should use mysqldiff.pl script included in extras of the MS1 package. use perl mysqldiff.pl olddatabase newdatabase >changes.sql where new database is oscommerce.sql coming with MS1 and olddatabase is your old db. just upload to mysql your old db and then upload changes.sql - that should work. Dmitry
falconpilot Posted May 27, 2003 Posted May 27, 2003 How do I import an SQL file to my database and will this screw up any of my data currently in my sql database. Thanks for your help. falconpilot
Recommended Posts
Archived
This topic is now archived and is closed to further replies.