0

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

  • 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

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

| 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.