2

I am having data of 20 GB with MySQL version 5.0.24.

Now I want to update MySQL to newer version 5.5.16.

We can do it by taking complete database backup and uninstall old MySQL and install new MySQL and restore database.

But, Is there any way to upgrade MySQL directly to newer version, as it is a production setup and wanted very less down time of the server.

Please help me on this.

I am running on Windows.

RolandoMySQLDBA
185k34 gold badges327 silver badges541 bronze badges
asked Oct 19, 2011 at 10:19

1 Answer 1

3

Well, first off, if you are upgrading from 5.0 to 5.5, you really need to do this on a test server prior to making the upgrade in a production environment. This will get you comfortable with the steps of upgrading and let you figure out any trouble areas beforehand, which will dramatically reduce your downtime of upgrading.

So to upgrade, I would upgrade from 5.0 to 5.1, then 5.1 to 5.5 as the manual suggests. There will be downtime, but if you do the upgrade steps on a test setup first, you will reduce your downtime dramatically. Make sure you have all the installers downloaded beforehand, don't wait to download them while you're in downtime.

You could do the replication setup as Rolando points out, but please don't do the upgrade on production without testing out the steps first.

answered Oct 19, 2011 at 13:17

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.