Edit report at https://bugs.php.net/bug.php?id=55489&edit=1

 ID:               55489
 Updated by:       [email protected]
 Reported by:      wojtosz at gmail dot com
 Summary:          mysql_connect can't connect on ::1
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          MySQL related
 Operating System: PLD Linux x86_64
 PHP Version:      5.3.7

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2011-09-05 13:10:46] wojtosz at gmail dot com

Client Library version: 5.5.13
libmysql is in use.
I'm using MySQL 5.5.13.

------------------------------------------------------------------------
[2011-08-25 16:19:37] [email protected]

Are you using libmysql or myslqnd? (check "Client Library version" in phpinfo's 
MySQL boxes) And which MySQL server? MySQL didn't support IPv6 until version 
5.5.

------------------------------------------------------------------------
[2011-08-23 12:21:58] wojtosz at gmail dot com

Description:
------------
mysql_connect can't connect on ::1

Test script:
---------------
$ cat ./x.php 
<?php
mysql_connect('::1', 'mysql', 'SECPASS') or die(mysql_error());
?>

$ php -f ./x.php
PHP Warning:  mysql_connect(): Can't connect to local MySQL server through 
socket '1' (2) in /home/users/wojtosz/x.php on line 2

Warning: mysql_connect(): Can't connect to local MySQL server through socket 
'1' (2) in /home/users/wojtosz/x.php on line 2
Can't connect to local MySQL server through socket '1' (2)

Expected result:
----------------
proper mysql server handler.

Actual result:
--------------
PHP Warning:  mysql_connect(): Can't connect to local MySQL server through 
socket '1' (2) in /home/users/wojtosz/x.php on line 2

Warning: mysql_connect(): Can't connect to local MySQL server through socket 
'1' (2) in /home/users/wojtosz/x.php on line 2
Can't connect to local MySQL server through socket '1' (2)


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55489&edit=1

Reply via email to