Edit report at http://bugs.php.net/bug.php?id=54832&edit=1
ID: 54832
Comment by: giorgio dot liscio at email dot it
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:
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
Previous Comments:
------------------------------------------------------------------------
[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/
------------------------------------------------------------------------
[2011-05-18 15:03:46] giorgio dot liscio at email dot it
Description:
------------
hi, with same apache + os + mysql installation and php 5.3.6 works
everything good
with trunk of today (not tested on previous trunks) i get always
Warning: mysqli_connect(): (HY000/2002): Impossibile stabilire la
connessione. Risposta non corretta della parte connessa dopo
l'intervallo di tempo oppure mancata risposta dall'host collegato.
in E:\Lavoro\Software\Apache2\htdocs\index.php on line 20
~translation from italian:
unable to establish the connection. invalid answer in the time interval
or no answer from the host
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54832&edit=1