Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.