#36056 [Opn->Bgs]: Mysql 5.1.5 alpha Client Socket not working

From: Date: Tue, 17 Jan 2006 16:23:27 +0000
Subject: #36056 [Opn->Bgs]: Mysql 5.1.5 alpha Client Socket not working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92079@lists.php.net to get a copy of this message
 ID:               36056
 Updated by:       tony2001@php.net
 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


Thread (2 messages)

« previous php.bugs (#92079) next »