I get this warning when I do a test on my localhost: “Headers and client library minor version mismatch. Headers:50051 Library:50151”. The warning notwithstanding, the browser is able to successfully establish database connection. Where could i be going wrong? And what are these “headers and library” stuff?
Are you getting this error when trying to connect to MySQL from PHP using PHP’s mysqli_* extenstion?
Yes I get this error when am trying to connect to MySQL from PHP using PHP’s mysqli_* extension.
You are not the first to have this problem
Using SitePoint’s Advanced Search
Using the vBulletin Advanced Search
http://www.sitepoint.com/forums/showthread.php?t=691635&highlight=client+library+minor+version+mismatch
http://www.sitepoint.com/forums/showthread.php?t=691316&highlight=client+library+minor+version+mismatch
http://www.sitepoint.com/forums/showthread.php?t=691316&highlight=client+library+minor+version+mismatch
http://www.sitepoint.com/forums/showthread.php?t=664446&highlight=client+library+minor+version+mismatch
http://www.sitepoint.com/forums/showthread.php?t=684715&highlight=client+library+minor+version+mismatch
http://www.sitepoint.com/forums/showthread.php?t=678329&highlight=client+library+minor+version+mismatch
http://www.sitepoint.com/forums/showthread.php?t=679792&highlight=client+library+minor+version+mismatch
http://www.sitepoint.com/forums/showthread.php?t=675807&highlight=client+library+minor+version+mismatch
http://www.sitepoint.com/forums/showthread.php?t=674944&highlight=client+library+minor+version+mismatch
http://www.sitepoint.com/forums/showthread.php?t=671545&highlight=client+library+minor+version+mismatch
http://www.sitepoint.com/forums/showthread.php?t=666117&highlight=client+library+minor+version+mismatch
http://www.sitepoint.com/forums/showthread.php?t=669069&highlight=client+library+minor+version+mismatch
.
That’s a nice list, Mitt
Most of the time, a connection mismatch is due to different versions of MySQL and the PHP plug-in.
I would suggest to go through the threads Mitt listed because some people found different solutions to the problem.
Some simply installed MySQL latest version and that solved it. Others found that they had to change one line in the Apache’s http.conf file.