Ubuntu – Install MySQL 5.1 on Ubuntu 12.04

installationMySQLUbuntuubuntu 12.04

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.

Best Answer

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.

Related Question