Your PHP MySQL library version 4.1.22 differs from your MySQL server version 5.0.87

If after upgrading your mysql, you get the informational error in phpmyadmin;

“Your PHP MySQL library version 4.1.22 differs from your MySQL server version 5.0.87. This may cause unpredictable behavior.”

Check which versions of mysql are installed on the server by running the command


rpm -qa |grep MySQL

This should give you a response similar to


perl-DBD-MySQL-3.0007-2.el5
MySQL-devel-5.0.87-0.glibc23
MySQL-shared-5.0.87-0.glibc23
MySQL-client-5.0.87-0.glibc23
MySQL-server-5.0.87-0.glibc23
MySQL-bench-5.0.87-0.glibc23

Make sure easyapache was run after the upgrade and also running


/scripts/makecpphp

seemed to repair the issue as well.

g33kadmin

I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.