ID: 50172 Updated by: paj...@php.net Reported By: erik at navhost dot com -Status: Open +Status: Feedback Bug Type: MySQL related Operating System: Windows Server 2008 R2 PHP Version: 5.3.1RC4 New Comment:
see the other bug report about IPv6 being enabled. Comment out the ::1 line in your hosts file and try again (see the other reports or google about it if you don't know what is it). Previous Comments: ------------------------------------------------------------------------ [2009-11-13 21:38:38] erik at navhost dot com Description: ------------ I've tried to find the solution for this issue here since last month, but if I install any of the recent 5.3 RCs, PHP simply will not talk to the MySQL service. I upgraded from 5.2.10, and the problem was not present in that version. As far as I recall 5.3.0 and it's RCs did connect but had other issues later resolved. When I reinstall 5.2.11, everything is back to normal. I've reproduced this on 3 servers, all running Windows Server 2008. Bottom line; 5.2.11 can connect and talk to the MySQL service, 5.3.1RC4 can not. Reproduce code: --------------- mysql_connect('localhost', 'root', '***'); Expected result: ---------------- Success! Actual result: -------------- (After 60 seconds) A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50172&edit=1