A connection attempt failed because the connected party did not (trying to connect via tcp://localhost:3306)

PHP 5.3 on Window Vista

Comment out this line from your hosts file (C:\Windows\System32\drivers\etc\hosts)

::1             localhost
#::1             localhost

Apparently MySQL won’t support IPv6 til MySQL 6.0

2 Comments so far

  1. X on January 5th, 2010

    Man I love you!!!
    This was so damn confusing after updating to php 5.3

    Thanks again!

  2. KevBurnsJr on January 5th, 2010

    I love you too, bro.

Leave a reply