Log in

View Full Version : mysql_connect(): Headers and client library minor version mismatch error



ILoveKnowledge
04-17-2014, 04:06 AM
Hello all... thanks in advance for your help.

I changed servers recently (I use a VPS) and I installed my script software (live support). When I go to install the script after having already created the MySQL database, I get the following error message..:
Warning - mysql_connect(): Headers and client library minor version mismatch. Headers:50536 Library:50616 (./__swift/thirdparty/adodb5/drivers/adodb-mysql.inc.php:364)

I tried researching on this issue online but have no clue what to do. I am not an expert or knowledgeable with this back end stuff and the person (my host) I tried contacting doesn't get back to me and I am forced to stay with him as I get unlimited number of emails allowed via the server. If any person can help me with this issue I would deeply and gratefully appreciate it. Thanks again.

traq
04-17-2014, 04:44 AM
Did you do your own installation? Found this on s/o (http://stackoverflow.com/questions/10759334/headers-and-client-library-minor-version-mismatch).

ILoveKnowledge
04-17-2014, 07:46 PM
Thanks so much! I solved the problem myself by running the install process for the latest version of MySQL and by recompiling PHP and Apache (all in WHM). Thanks. :)

traq
04-17-2014, 10:55 PM
no prob. I would suggest, however, that you move towards the mysqli or PDO extensions as soon as possible. ext/mysql is deprecated and has not been recommended for new code since 2004. It's old, unmaintained, feature-incomplete, inefficient, and difficult to manage security-wise. Way past time for a change!

If your question has been answered, please mark your thread "resolved":
On your original post (post #1), click [edit], then click [go advanced]. In the "thread prefix" box, select "Resolved". Click [save changes].