Take the 2-minute tour ×
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. It's 100% free, no registration required.

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

1 Answer 1

up vote 1 down vote accepted

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".

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

 
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.