From: thomas dot nicolai at unisg dot ch Operating system: Suse 9.1 PHP version: 5.1.2 PHP Bug Type: MSSQL related Bug description: Mysql 5.1.5 alpha Client Socket not working
Description: ------------ PHP 5.1 does not work through the mysql socket with mysql 5.1.5 alpha. Reproduce code: --------------- If you try to connect through the compiled client lib of 5.1.5 you get always this message even if the socket is not there. its fully readable and accessable by the client and the client does work from the command line: Can't connect to local MySQL server through socket '/usr/local/mysql/var/mysql.sock' (13) The debugging of mysql connections didnt bring up any "connecting" of php.... So might that I'm wrong but could it be that anything inside PHP is asuming that there is no socket even there is one? Expected result: ---------------- Connection through the mysql socket. Its already working with the TCP connection. Actual result: -------------- ... -- Edit bug report at http://bugs.php.net/?id=36056&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36056&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36056&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36056&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36056&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36056&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36056&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36056&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36056&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36056&r=support Expected behavior: http://bugs.php.net/fix.php?id=36056&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36056&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36056&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36056&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36056&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36056&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36056&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36056&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36056&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36056&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36056&r=mysqlcfg