Warning: mysqli_real_connect(): Headers and client library minor version mismatch


#1

Hi,

I’m using ee, and got this error on my WordPress site:

Warning: mysqli_real_connect(): Headers and client library minor version mismatch. Headers:50544 Library:100109 in /var/www/domain.com/htdocs/wp-includes/wp-db.php on line 1488

I’ve got a solution here:

But I’m not sure if that’s ok for future updates from ee.

Any help would be appreciated.

Best Regards, Tran


#2

hi. i have same problem as well.


#3

Same problem here, but thanks for your solution link

Anyway according to this https://mariadb.com/kb/en/mariadb/installation-issues-with-php5/

This is because the library wrongly checks and expects that the client library must be the exact same version as PHP was compiled with. You would get the same error if you tried to upgrade just the MySQL client library without upgrading PHP at the same time

perhaps that’s the cause dunno…


#4