Question

Your PHP MySQL library version 5.5.50 differs from your MySQL server version 5.6.31. This may cause unpredictable behavior.

Posted July 24, 2016 15.2k views
UbuntuMySQLPHP

So I upgraded mysql from 5.5 to 5.6 and now PHPmyadmin shows me this message :

Your PHP MySQL library version 5.5.50 differs from your MySQL server version 5.6.31. This may cause unpredictable behavior.

Is there any way that I can solve this ?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
3 answers

Hello, try the command:

sudo apt-get update
sudo apt-get install php5-mysqlnd

Then restart apache2 and mysql, please write us if it works

Hello,

Try running the commands below to update php-mysql.

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

Once done, restart your web server.

Hi …

I got this message :

Building dependency tree
Reading state information… Done
Package php5-mysqli is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
php5-mysqlnd:i386 php5-mysql:i386 php5-mysqlnd php5-mysql

E: Package ‘php5-mysqli’ has no installation candidate

Submit an Answer