Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Only version 5.5 is available through apt-get, but I want to install 5.1.

  1. Is there a way to install it through apt-get? Perhaps by adding a certain repository.
  2. How can I install it manually without apt-get? There were instructions in the compressed file provided by MySQL that worked reasonably well, but I had issues connecting through it and I think there were some things missing that is provided through a .deb package.

I wasn't able to find any good resources on installing it manually apart from the INSTALL-BINARY that came with it.

share|improve this question
"I want to install 5.1" What for? 5.5 does pretty much everything 5.1 does. – Ignacio Vazquez-Abrams May 17 '12 at 23:43
And if you don't want the latest greatest, why 12.04 as opposed to 10.04? – emgee May 18 '12 at 0:05
@IgnacioVazquez-Abrams I'm not able to migrate from 5.1 to 5.5 yet. – mangoDrunk May 21 '12 at 18:22
@emgee Why do I have to stay on an older OS just because of the version of database I want? 5.1 isn't that old. – mangoDrunk May 21 '12 at 18:24
up vote 1 down vote accepted

The solution I ended up using was MySQL Sandbox. With MySQL Sandbox, I was able to install MySQL 5.1 self-contained in one folder which is better in my opinion than having MySQL using many different folders which is harder to uninstall which may have been the reason for issues with installing 5.1 manually after having installed 5.5. With MySQL Sandbox, I'm able to have multiple instances of MySQL installed without them conflicting with one another.

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.