Bug #54832 [Com]: unable to connect to mysql
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: Feedback Type: Bug Package:MySQL related Operating System: windows 7 x64 ultimate PHP Version:5.3.7 Assigned To:cataphract Block user comment: N Private report: N New Comment: Please try MySQL 5.1.57 listening 127.0.0.1:3306 without IPv6 listen but with IPv6 enabled in OS. Thank you. Previous Comments: [2011-06-01 16:07:36] cataphr...@php.net I can't reproduce this with both PHP 5.3.7-dev and trunk (5.5.0-dev) as apache handlers (ts, vc9) and mysql 5.5.9 listening on an IPv4 socket and an IPv6 socket. At this point either a dump of the network traffic or at least a log from process monitor would help. Thanks [2011-06-01 14:44:06] giorgio dot liscio at email dot it yes i'm using binaries (vc9) of apache lounge (Apache 2.2.19) mysql version 5.5.13 with php 5.4 and trunk vc9 ts (revision of today) [2011-06-01 13:24:17] cataphr...@php.net If you are using the apache handler, please make sure you are also using the Apace binaries from Apache Lounge. [2011-05-31 12:56:15] giorgio dot liscio at email dot it changed version according to what neweracracker at gmail dot com says thank you in advance for fixing this byes [2011-05-31 02:38:47] paj...@php.net Pls check this one as well, regression introduced by the browswer fix (wondering what can cause that in mysql/socket code.) 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
Bug #54832 [Com]: unable to connect to mysql
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: Feedback Type: Bug Package:MySQL related Operating System: windows 7 x64 ultimate PHP Version:5.3.7 Assigned To:cataphract Block user comment: N Private report: N New Comment: yes i'm using binaries (vc9) of apache lounge (Apache 2.2.19) mysql version 5.5.13 with php 5.4 and trunk vc9 ts (revision of today) Previous Comments: [2011-06-01 13:24:17] cataphr...@php.net If you are using the apache handler, please make sure you are also using the Apace binaries from Apache Lounge. [2011-05-31 12:56:15] giorgio dot liscio at email dot it changed version according to what neweracracker at gmail dot com says thank you in advance for fixing this byes [2011-05-31 02:38:47] paj...@php.net Pls check this one as well, regression introduced by the browswer fix (wondering what can cause that in mysql/socket code.) [2011-05-31 02:21:07] neweracracker at gmail dot com Yes. I can reproduce the problem. I am sure devs will fix then when they have time available. [2011-05-30 21:28:38] giorgio dot liscio at email dot it can you reproduce the problem? 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
Bug #54832 [Com]: unable to connect to mysql
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: Yes. I can reproduce the problem. I am sure devs will fix then when they have time available. Previous Comments: [2011-05-30 21:28:38] giorgio dot liscio at email dot it can you reproduce the problem? [2011-05-30 17:19:09] neweracracker at gmail dot com Hello, There is a similar bug: bug #54896 It is related to this commit svn.php.net/viewvc?view=revision&revision=310691 Thank you. [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] johan...@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 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
Bug #54832 [Com]: unable to connect to mysql
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: can you reproduce the problem? Previous Comments: [2011-05-30 17:19:09] neweracracker at gmail dot com Hello, There is a similar bug: bug #54896 It is related to this commit svn.php.net/viewvc?view=revision&revision=310691 Thank you. [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] johan...@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] johan...@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) 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
Bug #54832 [Com]: unable to connect to mysql
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] johan...@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] johan...@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
Bug #54832 [Com]: unable to connect to mysql
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] johan...@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] johan...@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