MySql 5.5 in ubuntu repository

mysql-5.5Ubuntu

Sorry for duplicate question.

I am looking for the best way to install mysql 5.5 on ubuntu.

So far, there are few options:

  • Installing from tar.gz

  • Installing from PPA.

  • Alien on RPM.

All of them don't seem to be optimal to me. Installing from tar.gz takes long time and might have room for mistake. Installing from PPA is dangerous, I don't want to install something on production server which is non-official or might have differecens with official version. Running alien on RPM not a good way to install.

How did you install Mysql 5.5 on ubuntu server?

Version: Ubuntu 10.04.3 LTS

Best Answer

There are .deb packages available. Using the ones from http://people.debian.org/~nobse/mysql-5.5/:

sudo su -
wget http://people.debian.org/~nobse/mysql-5.5/mysql-common_5.5.13-2_all.deb
wget http://people.debian.org/~nobse/mysql-5.5/mysql-server_5.5_5.5.13-2_amd64.deb

dpkg -i mysql-common_5.5.13-2_all.deb
dpkg -i mysql-server_5.5_5.5.13-2_amd64.deb

The first dpkg execution may ask for you to install dependencies. If you're installing on a 32-bit system, alter the URLs accordingly.

Latest .debs are available on http://dev.mysql.com/downloads/mysql/#downloads - Select "Debian Linux".