

I also ran tests on MariaDB 10.3 and it works fine. I solved the issue by exporting the database, downgrading to MySQL 5.7 and re-importing the data.

In fact, I could replicate the error by upgrading from MySQL 5.7 to MySQL 8.0 Please, report to the developers in /var/is utfmb4. Warning: mysql_connect(): Server sent charset unknown to the client. Please, report to the developers in /var/www/html/wp-includes/wp-db.php on line 1562 PHP Warning: mysql_connect(): Server sent charset unknown to the client. Warning: mysql_connect(): Server sent charset (255) unknown to the client. It helps sometimes when the cookies don’t get set properly. Just pasting in text to the user table will not work. Please, report to the developers in /var/www/html/wp-includes/wp-db.php on line 1562 MAMP localhost wordpress site, not possible to sign in, username and password are correct The password uses an MD5 hash, enter your password into a MD5 hasher and paste that into your database. PHP Warning: mysql_connect(): Server sent charset (255) unknown to the client. PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/on line 1562 I had this problem on MAMP PRO after a upgrade from V6.3 to V6.4, The answer by harshshah is still valid except that MAMP V6.4 now has both V4.9 and V5.1 of phpMyAdmin integrated I am still not sure the mechanism of having both under the hood especially. Please, report to the developers in /var/www/html/wp-includes/wp-db.php on line 1531 This usually happens when you changed the password of db root user outside of MAMP itself - or even through it and then upgraded versions. Warning: mysqli_real_connect(): (HY000/2054): Server sent charset unknown to the client. Please, report to the developers in /var/www/html/wp-includes/wp-db.php on line 1531 PHP Warning: mysqli_real_connect(): (HY000/2054): Server sent charset unknown to the client. Warning: mysqli_real_connect(): Server sent charset (255) unknown to the client. In my case, besides the aforementioned error message, I also got the warnings below: PHP Warning: mysqli_real_connect(): Server sent charset (255) unknown to the client.
