Question

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

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 ?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

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

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.