Bug #66056 [Opn->Nab]: mysql_connect(): Headers and client library minor version mismatch.

From: Date: Wed, 13 Nov 2013 13:16:35 +0000
Subject: Bug #66056 [Opn->Nab]: mysql_connect(): Headers and client library minor version mismatch.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182733@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66056&edit=1 ID: 66056 Updated by: johannes@php.net Reported by: ihanick at gmail dot com Summary: mysql_connect(): Headers and client library minor version mismatch. -Status: Open +Status: Not a bug Type: Bug Package: MySQL related PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php In the past there had been issues. Proper checking is quite complicated. We also suggest using mysqlnd-based instead of libmysql-based builds. Previous Comments: ------------------------------------------------------------------------ [2013-11-08 07:17:46] ihanick at gmail dot com Description: ------------ CentOS 6 with remi repository & ubuntu 13.04 having php-mysql extension compiled with libmysqlclient.so.18 library from mysql 5.5. During 5.6 release mysql development team wasn't confirmed any major changes in library, thus just a minor library version bumped (5.5: libmysqlclient.so.18.0, 5.6: libmysqlclient.so.18.1). Why we need major mysql version check in ./ext/mysql/php_mysql.c ./ext/mysqli/mysqli_nonapi.c ? Currently it's not possible to deploy both libmysqlclient.so.18 libraries from 5.5 and & 5.6 in shared-compat package, because both versions are providing library file with the same major version. Test script: --------------- <?php $link = mysql_connect('localhost', 'root', ''); Expected result: ---------------- Shouldn't produce any output Actual result: -------------- PHP Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50534 Library:50614 in test-mysql.php on line 2 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66056&edit=1

« previous php.bugs (#182733) next »