ID: 36056 Updated by: [EMAIL PROTECTED] Reported By: thomas dot nicolai at unisg dot ch -Status: Open +Status: Bogus -Bug Type: MSSQL related +Bug Type: MySQL related Operating System: Suse 9.1 PHP Version: 5.1.2 New Comment:
# perror 13 OS error code 13: Permission denied The error comes from libmysqlclient and I don't see any reasons to not trust it. Previous Comments: ------------------------------------------------------------------------ [2006-01-17 17:14:03] thomas dot nicolai at unisg dot ch 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 this bug report at http://bugs.php.net/?id=36056&edit=1