Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

Cheers

share|improve this question
    
try re-installing php5-mysql by sudo apt-get install --reinstall php5-mysql. –  green7 Oct 16 '12 at 15:47

1 Answer 1

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

 
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.