You either need to downgrade your PHP version to 5.5 or update your mysql client libraries to the 5.6.x family.
Your web host should be able to help you with this.
Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50547 Library:50628 in /home
Ok I know this thread is nine months old but I am googled out on this. I have this issue since upgrading to WordPress 4.5 on CentOS 7 with PHP 7.
No issues previously and I in no way want to downgrade my PHP version. However there seems to be no updates for my MySQL libraries.
PHP Warning: mysqli_real_connect(): Headers and client library minor version mismatch. Headers:50547 Library:50625 in /usr/local/www/…/htdocs/wp-includes/wp-db.php on line 1489
mysql Ver 14.14 Distrib 5.7.12, for Linux (x86_64)
PHP 7.0.5
Can anyone point me in the right direction on this? I am using Webtatic repo because CentOS 7 is so far behind and doesn’t have php 7 a available via the standard repos.
I really need to figure this out…
i am having the same problem any one, please suggest.
OK, I was able to get it fixed. I uploaded Database Manager, repaired the database. Then I uninstalled all of the plugins (FTP and made them a different file name). I am adding the plugins one by one.
OK, I seem to have figured the culprit – WordFence plugin. I added that and it gave me the same error. I guess there really is no need to repair the database, WordFence just need to update their plugin.
The issue is not wordfence. I don’t use this plugin. It is definitely the 4.5 update. Trying to follow your steps into repairing and reinstalling my plugins. Have a feeling I will get the same. I still believe the conflict is between this: Headers:50547 Library:50628 as reported in the error and trying to figure out how to bring everything to same version.
I am using cPanel with php 5.5. With php selector, I have moved from basic mysql (untick) to nd_mysql (tick) and issue fixed.