Super User is a question and answer site for computer enthusiasts and power users. 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

How to install the MySQL 5.5 on Ubuntu 10.04?

apt-get install mysql-server is only allows to install

share|improve this question
up vote 5 down vote accepted

Unless you have some specific problems with your environment or installation procedure, it follows the normal pattern:

share|improve this answer

I used The following guide to install 5.5 on Ubuntu 10.04:

Everything worked perfectly except one of the final steps, launching mysql:

mysqld --skip-grant-tables --user=mysql

Was giving me the following message and then shutting down:

[ERROR] Can't find messagefile '/usr/share/errmsg.sys'

After some googling I found the solution to be adding the following flag:


To launch it and have it actually work, I used the following command:

 mysqld --skip-grant-tables --user=mysql --lc-messages-dir="/usr/local/mysql/share/english/"

MySQL 5.5 has some great new features that solved a partitioning issue for me; partitioning via a varchar.

Good luck!

share|improve this answer
I was able to follow the instruction guide without any error. The only thing is at step "Start MySQL server without grants table." it looks like it hangs but it doesn't. Just open another terminal and continue the steps in that new terminal. – iDev247 Feb 5 '13 at 20:06
add-apt-repository ppa:internetbroadcasting/mysql55onlucid
apt-get install mysql-server-5.5

Users with local apache+php5+mysql or similar combination with mysql in it would likely need to recompile mysql-dependent packages (php5-mysql), so it uses libmysqlclient18 provided by mysql-server-5.5.

Using libmysqlclient16-linked packages with mysql 5.5 installation might appear to be working initially, but would tend to crash randomly.

share|improve this answer
Don't forget to run sudo apt-get update – Hengjie Jun 14 '14 at 15:13
Due to dependencies, I needed to run: apt-get install mysql-server-5.5 mysql-server-core-5.5 mysql-client-5.5 – jdhildeb Jul 10 '14 at 18:54

simple instructions for installation of MySQL 5.5 on Linux are documented here along with other libraries that are required.

share|improve this answer
Please summarize the steps here, rather than only plugging your own blog? – Arjan Dec 21 '10 at 15:58

I have written an article on how to install MySQL 5.5 on Ubuntu 10.10 using Ubuntu packages, I'm pretty sure it will work without any major issues on 10.04:

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .