ID: 50172 User updated by: erik at navhost dot com Reported By: erik at navhost dot com Status: Assigned Bug Type: MySQL related Operating System: Windows Server 2008 R2 PHP Version: 5.3.1RC4 Assigned To: mysql New Comment:
A simple workaround is to uncomment/add this line to the host file: 127.0.0.1 localhost Worked for me. Previous Comments: ------------------------------------------------------------------------ [2009-11-14 16:39:41] paj...@php.net I mean Bug #45150. But it looks like you may have met another issue. Assigned to the mysql team so they can for more details. ------------------------------------------------------------------------ [2009-11-14 15:58:37] erik at navhost dot com Looking into it further, the comment from pajoye fixes the issue in the vista-based Server 2008. However, Server 2008 R2 is based on Windows 7 and introduces a new feature on the resolving localhost... see from the hosts file: "localhost name resolution is handled within DNS itself." So I guess this is a windows bug rather than PHP? I can't see an easy solution here either way. ------------------------------------------------------------------------ [2009-11-14 04:06:39] erik at navhost dot com I can't seem to find the report you're referring to, but the issue still stands. Is it a IPv6 related issue? The ::1-line in the hosts file is already commented out. ------------------------------------------------------------------------ [2009-11-13 22:18:38] erik at navhost dot com Do you mean bug #48805? Anyway, that lin line is already commented out by an '#' in the server's hosts file. It was that way by default. ------------------------------------------------------------------------ [2009-11-13 21:57:50] paj...@php.net 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). ------------------------------------------------------------------------ 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