Higher level workaround found and tested.
comment out ::1 localhost from the Windows host file which was added for IPV6.
You must run your editor in Administrator mode (Right click, select run as administrator) then edit
C:\Windows\System32\drivers\etc\hosts
Full bug information at
[
bugs.php.net]
No, it's a bug in the PHP stream transport. (mysqlnd is using PHP
streams for the connection)
-->
If PHP is asking the OS for the IP for the host "localhost", it gets a
list with 2 addrinfo structures (one for ::1 and the other for
127.0.0.1), but PHP is only trying a connection to the first one. Well,
the MySQL server don't know IPV6, and thus the connection fails.
Edited 1 time(s). Last edit at 12/03/2009 11:27PM by arnb.