Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Installed Mysql on Ubuntu 12.04 Server via

apt-get install mysql-server

from default sources.list. Than uploaded new Phpmyadmin version shows warning:

Your PHP MySQL library version 5.0.51a differs from your MySQL server version 5.5.24. This may cause unpredictable behavior.

How I can install new Mysql 5.5 version? Could you please advice?


share|improve this question
try re-installing php5-mysql by sudo apt-get install --reinstall php5-mysql. – green Oct 16 '12 at 15:47
up vote 1 down vote accepted

The thing is, the PHP team need to launch an update to the libmysql file, this way, you can use a newer version of the Database.

If you want to update the PHP installation, just update the file libmysql to the version you want (if there is any available yet).

Try executing these commands:

apt-get update
apt-get install php5-mysql
apt-get install php5-mysqli

Here is the official installation guide.

share|improve this answer

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.