Previous Thread
Next Thread
Print Thread
Rate Thread
#208100 02/06/2001 10:52 AM
Joined: May 2000
Posts: 1
User
User
Offline
Joined: May 2000
Posts: 1
ok guys i got a wierd question i got an old copy of wwwthreads 5.0.9 unnning and i want to upgrade it to 5.1.5 the latest version i know all i got to basicly do is copy over the files now as far as the data base what do i do do i need to create a new one or can i just import that one ????


Sponsored Links
KangB #208101 02/06/2001 12:03 PM
Joined: Mar 2000
Posts: 84
Member
Member
Offline
Joined: Mar 2000
Posts: 84
In your upgrade package you will receive some files called altertable*.pl or altertable*.php depending on the version you're running. These files can be executed by you, on the command line or through the broswer (again, depending on the language version you're running), and they contain all the code necessary to alter the structure of your tables to suit the upgraded version and convert all the data to be compatible with the new table structures.

In your case, the two files you'd be looking at running are, in the perl example:

altertable-5.0.9-5.1-pro.pl
altertable-5.1.1-5.1.2-pro.pl

similar files exist if you're running the php version.

Then, after you update your tables, all the new files you copied over should work fine.

As with any major change to your database, ALWAYS back up your data in case of error.

mysql -hyourhost -uusername -p mydatabase > /path/to/mydumpfile.sql

---------
Shalazar
www.charisma-carpenter.com

G5 #208102 02/06/2001 12:10 PM
Joined: Jan 2001
Posts: 97
Enthusiast
Enthusiast
Offline
Joined: Jan 2001
Posts: 97
Ooooppss

"mysql -hyourhost -uusername -p mydatabase > /path/to/mydumpfile.sql"

That should be:

mysqldump -hyourhost -uusername -p mydatabase > /path/to/mydumpfile.sql

I think you forgot the dumo in that command....right?

Brew
OldHouseForums.network



Brew
CustomShowCars.com
OldHouseForums.com
PoliticalForums.net
pcgnetworks.com
ut2003news.com
rtcwnews.com
bf1942news.com
nolf2news.com
djtech2k #208103 02/07/2001 12:13 AM
Joined: Mar 2000
Posts: 84
Member
Member
Offline
Joined: Mar 2000
Posts: 84
Brew -

Thanks for your proof-reading skills. Can't believe I missed that part. If I could edit my previous post to make it correct, I would, but it won't let me. I got so used to running my dumps through a cron script, and restoring by hand with the mysql command, I guess I just got used to one over the other.

mysqldump -hyourhost -uusername -p mydatabase > /path/to/mydumpfile.sql

Sorry! And thanks again for catching that :)

---------
Shalazar
www.charisma-carpenter.com

G5 #208104 02/07/2001 6:00 AM
Joined: Jan 2001
Posts: 97
Enthusiast
Enthusiast
Offline
Joined: Jan 2001
Posts: 97
That's alright Shalazar look at what I did.....

Here I was.....pointing out a small typo and what did I do?

Mis-spelled dump..!

I spelled it dumo.........

LOL

Brew
OldHouseForums.network



Brew
CustomShowCars.com
OldHouseForums.com
PoliticalForums.net
pcgnetworks.com
ut2003news.com
rtcwnews.com
bf1942news.com
nolf2news.com
Sponsored Links
KangB #208105 02/07/2001 7:07 AM
Joined: May 1999
Posts: 242
Coder
Coder
Offline
Joined: May 1999
Posts: 242
Don't forget to visit the support library. There are several docs in there, among others the one that explains upgrades.

http://www.wwwthreads.com/support/index.html

- Six
[email protected]
mYth productions


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)