ID: 50172 Updated by: paj...@php.net Reported By: erik at navhost dot com -Status: Assigned +Status: Bogus Bug Type: MySQL related Operating System: win32 only - Win. Server 2008 R2 PHP Version: 5.3.1RC4 Assigned To: mysql New Comment:
For the 1000th time, this is NOT a bug. Disable IPv6 or do the necessary changes in the hosts file (::1 and other). Previous Comments: ------------------------------------------------------------------------ [2009-12-08 09:45:47] mcleod at spaceweb dot nl PHP 5.3.1 does not communicate with MySQL, not with PDO_MySQL through ZendFramework and not with old mysql_ family functions. ------------------------------------------------------------------------ [2009-11-22 18:36:12] dominique at ottello dot net Problem only with 5.3.1. No problem with 5.3.0 final. Regards ------------------------------------------------------------------------ [2009-11-20 13:20:46] ferd352+php at gmail dot com Sorry, I seemed to miss the message above about commenting out the "::1" line, which when I did resolved the issue. ------------------------------------------------------------------------ [2009-11-20 13:14:56] ferd352+php at gmail dot com I'm having the same issue, along with other problems, trying to upgrade from PHP 5.2 to 5.3 (VC9) Just tried 5.3.1 on Win2k8_R2 IIS7.5 and I have to change "localhost" to "127.0.0.1" in my scripts even though the hosts file already has the entry 127.0.0.1 ------------------------------------------------------------------------ [2009-11-20 00:56:56] avivahl at gmail dot com This bug still exists in the final 5.3.1 release. :-( Reproduced here using Windows 7 w/ IIS 7.5 (FastCGI is used w/ Non-Thread-Safe php). The workaround suggested by erik (editing hosts file) works for me. Btw, PHP 5.3.0 (final) did not have this issue. ------------------------------------------------------------------------ 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/50172 -- Edit this bug report at http://bugs.php.net/?id=50172&edit=1