Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Can I keep the old database?

Can I keep the old database?

Locked

Views: 956

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
22 Apr 2010, 5:25 AM
#1
scott_c avatar

scott_c

Zen Follower

Join Date:
Dec 2009
Posts:
236
Plugin Contributions:
0

Can I keep the old database?

Sorry for the lame question; if I upgrade all of the php files to 1.3.9a - will it work with the current (in my case 1.3.8.a) installed mysql database?

I didnt see if there were changes made to the DB itself in the upgrade, and i thought if there weren't, it would be nice to be able to just update the files.

Cheers,

Scott.

22 Apr 2010, 5:28 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Can I keep the old database?

The CORRECT way to upgrade is to follow the posted instructions contained in the /docs/ folder of the unzipped Zen Cart files.
The same information is summarized in the FAQs area, with links to the detailed instructions also on that page: https://www.zen-cart.com/tutorials/index.php?article=98

Merely replacing a bunch of files does not properly upgrade any files you've manually customized, and if you opt to not compare all your own files against the originals to identify changes made by you or your addons, then you'll lose all that functionality if you simply overwrite the files.

As to the database content, if you follow the published upgrade instructions, all your data will be retained and the database structure upgraded appropriately to suit the newer version.

22 Apr 2010, 6:20 AM
#3
scott_c avatar

scott_c

Zen Follower

Join Date:
Dec 2009
Posts:
236
Plugin Contributions:
0

Re: Can I keep the old database?

Hi Doctor, I completely understand about comparing files and I intend to do so. I want to implemenet ALL the code you guys have written for 1.3.9a

I was simply asking if the 1.3.9a php pages could be plugged into my existing mysql shop database.

22 Apr 2010, 6:34 AM
#4
g1smd avatar

g1smd

Zen Follower

Join Date:
Mar 2010
Location:
UK
Posts:
449
Plugin Contributions:
0

Re: Can I keep the old database?

I was simply asking if the 1.3.9a php pages could be plugged into my existing mysql shop database.> As to the database content, if you follow the published upgrade instructions, all your data will be retained and the database structure upgraded appropriately to suit the newer version.

That is, if you just upgrade the PHP files the site will stop working because there will be stuff missing from the database, stuff that is needed by the new PHP files.

22 Apr 2010, 6:37 AM
#5
scott_c avatar

scott_c

Zen Follower

Join Date:
Dec 2009
Posts:
236
Plugin Contributions:
0

Re: Can I keep the old database?

Ok thanks. I did read briefly through the install upgrade doc, but it didnt seem to mention how you migrate your data from the old db to the new?

I guess you create the demo db like the doc said and do a full mysql dump of the old db, then import into the new one..