Edit report at http://bugs.php.net/bug.php?id=54832&edit=1
ID: 54832
Comment by: neweracracker at gmail dot com
Reported by: giorgio dot liscio at email dot it
Summary: unable to connect to mysql
Status: Open
Type: Bug
Package: MySQL related
Operating System: windows 7 x64 ultimate
PHP Version: 5.4.0-dev
Block user comment: N
Private report: N
New Comment:
Hello,
There is a similar bug:
bug #54896
It is related to this commit
svn.php.net/viewvc?view=revision&revision=310691
Thank you.
Previous Comments:
------------------------------------------------------------------------
[2011-05-26 16:47:40] giorgio dot liscio at email dot it
yes i've tried with 127.0.0.1
wireshark can't capture localhost packets due to a windows limitation
:rage:
i have to try in my network, i will update you
thank you
------------------------------------------------------------------------
[2011-05-26 15:53:43] johannes@php.net
Have you tried 127.0.0.1 instead of localhost? Or are you actually
connecting to a remote host? As mentioned in my previous statement we
had such timeouts due to IPv6 issues in the past. While then it doesn't
make sense if it works sometimes ...
My next best guess would be to try using a network analyzer (wireshark
or such) to log the network traffic. Not sure I have a better idea
(while I myself am not to familiar with such low level analysis on
windows, maybe there are simpler ways ...)
------------------------------------------------------------------------
[2011-05-26 14:57:27] giorgio dot liscio at email dot it
hi johannes, i tested with every combination, including firewall issues
but updating php latest revisions i noticed that not always driver
throws that error
sometimes on a just ran server (or thread?) some queries work,
and sometimes when i F5 my browser the same queries continue to work,
but if i hold down f5 for a lot of continuous reloads the error
HY000/2002 is thrown
hope this helps to fix the bug
------------------------------------------------------------------------
[2011-05-26 14:50:06] johannes@php.net
This works on other systems quite well. Are you sure you have no
firewall or such? Pleas etry using 127.0.0.1 instead of localhost (there
had been issues due to Ipv6 vs. IPv4 in the past)
------------------------------------------------------------------------
[2011-05-21 21:33:41] giorgio dot liscio at email dot it
same error on latest 5.4 revision too
May 21 2011 20:50:15
i'm using the binaries of windows.php.net
http://windows.php.net/downloads/snaps/php-5.4/r311300/
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=54832--
Edit this bug report at http://bugs.php.net/bug.php?id=54832&edit=1