[Tip] How to fix the problem with MySQL 5.6

https://elgg.org/pages/view/2045983/tip-how-to-fix-the-problem-with-mysql-56

I've just installed Elgg 1.10.2 on my dev-server.

In PHP I'm getting the following warning:

mysql_connect(): Headers and client library minor version mismatch. Headers:50540 Library:50623" in file /var/www/engine/classes/Elgg/Database.php (line 143)

The problem occured for me after an upgrade to PHP 5.5 and MySQL 5.6

How to fix these errors on Debian Wheezy?

RvR

Elgg developer at https://wzm.me :: Join to Elgg channel on Telegram https://t.me/elggnews