MySql upgrade

John Pike
John Pike used Ask the Experts™
I am wanting to upgrade mysql 5.0.51a to either version 5.1 or 5.5, is it best to just uninstall the original and re install new version. It will be on a Windows 2003 server. Also the data I have at the moment will it need to be updated
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2012
You cannot upgrade from 5.0 to 5.5.  You need to upgrade first to 5.1, then upgrade to 5.5.  But since you'll be already at it, I think it's best you take the trouble and take the steps to upgrade to 5.5.  It's been around for a while now so it's stable, and you have performance and other benefits.

See for 5.0 to 5.1 upgrade, then for 5.1 to 5.5 upgrade.  There are also additional Windows-specific instructions at and

The steps will include executing commands to update your tables to the new version, but your actual data should be left intact.  Of course, as the documentation pages referred to above will tell you, it always pays to have a backup done before proceeding.
John PikeConsultant Systems


Thnaks guys but am travelling for 4 days so will sort it out when I arrive

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial