I have recently installed MySQL on my laptop on which I am working on locally. I have php5 and MySQL Server 5.1. I am using Windows Vista SP2 with Apache 2.2.
When I try to run the function mysql_connect() the connection seems to wait for the localhost for a while (30+ seconds) before it eventually gives up and I get the error message: "Apache HTTP Server stopped working and was closed"
By diagnosing why the page didn't load through windows I get this report: " 'localhost' is not set up to establish a connection on port 'World Wide Web (HTTP)' with this computer'";
I have tested mysqld through the command prompt and know it is alive from the ping command.
Please help!
12344321