groovyPost.com

Groovy Technical and How To Articles for New and Advanced Computer Users

Subscribe Now!
RSS
Email

Upgrade mySQL database for website

Linux, mySQL, PHP, Apache Questions, Tips, etc..

Upgrade mySQL database for website

Postby poneil on Thu Jan 10, 2008 5:37 pm

I'm running a "really" old version of mySQL for my personal box. I've been doing a lot of reading but there's not really anything that mentions what the process is to upgrade. Anyone? groovyDude?

Thanks!
poneil
 
Posts: 13
Joined: Mon Sep 15, 2003 10:37 am
Location: Denver, CO

Re: Upgrade mySQL database for website

Postby alexmvp on Sat Nov 01, 2008 6:54 pm

i've done it a thousand times on my windows 2003 box. Just make a copy of all the databases (located in the mysql\data folder), uninstall mySQL and reinstall the new version of mysql.

Once your running the new version of mySQL, just copy the databases back into the \data folder and you should be golden.

Like I said, I've done it a million times with no problem.

Note:If you keep the mysql database you shouldn't have to recreate all the user perms or accounts either.

This is an old post but, let me know if you have any issues.
User avatar
alexmvp
 
Posts: 25
Joined: Tue Jan 15, 2008 7:16 pm
Location: Portland, OR

Re: Upgrade mySQL database for website

Postby MrGroove on Mon Dec 08, 2008 4:23 pm

yup yup yup. Completed the upgrade the same way even from mySQL 4.x to 5.x with no issues. Just moved over all the databases (including the config. databases with user accounts and perms). Slid them into the 5.x install on a new box and BOOM - upgraded.
User avatar
MrGroove
Groovy Overlord
 
Posts: 134
Joined: Fri Sep 12, 2003 10:45 am


Return to Linux & Open Source

Who is online

Users browsing this forum: No registered users and 1 guest

cron