Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. 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

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

share|improve this question
For a start, what version of Ubuntu? – Phil Apr 24 '12 at 9:19
@Phil, sorry of couse, Ubuntu 10.04.3 LTS – com Apr 24 '12 at 9:21
up vote 1 down vote accepted

There are .deb packages available. Using the ones from

sudo su -

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 - Select "Debian Linux".

share|improve this answer
5.5.13 it is old version – com Apr 24 '12 at 9:28
Try the .debs from the MySQL site – Phil Apr 24 '12 at 9:39
I tried one, it takes 20 sec to run installation and at the end it exists without error messages, Setting up mysql (5.5.23) ... – com Apr 24 '12 at 10:31
What does dpkg-query --status mysql-server-5.5 say (or common, if that's the one you tried installing)? – Phil Apr 24 '12 at 10:34
dpkg-query --status mysql-5.5.23-debian5.0-i686.deb - Package `mysql-5.5.23-debian5.0-i686.deb' is not installed and no info is available. – com Apr 24 '12 at 10:41

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.