Hello! I've recently installed Windows 8 and since that moment my XAMPP installation has been acting a bit weird it takes over a second to establish a mysql connection (mysql_connect) where it used to take less than 0.01 seconds.Timed:
Timer 1 (mysql_connect): 1.02864
Timer 2 (select_db): 0.00023
I have found a solution: instead of using mysql_connect('localhost'...) I use mysql_connect('127.0.0.1'...). New timers:
Timer 1 (mysql_connect): 0.00446
Timer 2 (select_db): 0.00023
However, I want to be able to just connect to localhost! :) I've checked my hosts file. It does contain a line saying "127.0.0.1 localhost" and the line "::1 localhost" (the ipv6 variant) has been commented out with a #. It's just not working. Any suggestions?