SOLVED! Error after WordPress 4.5 upgrade “Warning: mysql_connect(): Headers and client library minor version mismatch”

Solution Recommended by WordPress: Update PHP version.
Steps:
1. Login to cPanel.
2. Click on PHP version or PHP Selector.
3. Select and Set the latest version of PHP (like PHP 5.5, PHP 5.6 or latest).
“Solved”.
For more information, https://wordpress.org/support/topic/wp45-upgrade-mysql_connect-error

Author: Rajiv Sharma,
Founder & CEO at mechscinovate


 

One Reply to “SOLVED! Error after WordPress 4.5 upgrade “Warning: mysql_connect(): Headers and client library minor version mismatch””

  1. Thanks, Rajiv for posting this (and Google linking to it). Upgrading PHP from 5.3.29 to 5.6 solved the mismatch problem for me. It’s mind-boggling how many people posted about this problem after updating to WP 4.5, and yet some of the forum threads I saw came up with all kinds of non-solution time-wasters. It is regrettable that WP didn’t alert people in advance about the potential mismatch issue with some versions of PHP and the resulting error messages that would no longer be suppressed in 4.5.

Leave a Reply