0
Currently I administer the site of a Town Hall, and today, out of nowhere, the following error began to appear:
Warning: mysqli_connect() [Function.mysqli-connect]: Headers and client library minor version Mismatch. Headers:50521 Library:50639 in /home/afoga205/public_html/var_ini.php on line 174
The line in question is being this:
$this->conexao = mysqli_connect($_host['host'],$database['username'],$database['password']) or die(mysqli_error());
What is the solution to solve this problem?
The version of Mysql with which your PHP was compiled is different from the version of the Mysql library being used. You updated one of the two recently?
– Renato Diniz
No, I didn’t update. The site is hosted on Hostgator and I noticed today that some layouts have been updated, but I haven’t received any update information from Mysql or anything else.
– Carlos Eduardo Gomes
So it is a case to see with the support of Hostgator, since it is their hosting. But the error is probably the one I said.
– Renato Diniz
In fact, I had not yet sought solution with them. I will investigate and give a return.
– Carlos Eduardo Gomes
@Renatodiniz, I’m passing by to say that it was really a problem on the Hostgator server. It was solved as soon as I opened the ticket. Thank you!
– Carlos Eduardo Gomes