Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I upgrade the release for mysql server?

I want to upgrade from 5.1.41 to 5.1.5

Do I have to do an entire reinstall?

share|improve this question
up vote 2 down vote accepted

First, from 5.1.41 to 5.1.5 is a massive downgrade. Current version is 5.1.50 (the numbers are integer counters, not decimal fractions).

Beside that, the single most important thing is a working backup. After that, there is the question how you did install it in the first place?

  • If you used your distributions package, you should try to find an updated binary package for that distribution.
  • If you installed form source, you must compile it with the same path parameters and install it (while mysql is stopped, of course).
  • The same is true for Windows binary installers.

Either way, your data files should continue to work, but you must run mysql_upgrade to allow for possible modifications of the binary format to take place before restarting the daemons.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.