[Tip] How to fix the problem with MySQL 5.6


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?

Nikolai Shcherbin

Founder, CEO, Product Manager, Lead Developer at Platform for Social Apps :: https://wzm.me :: Elgg on Telegram https://t.me/elggnews