Hey guys…I am hoping you can help me out. I just followed this great tutorial:
[http://www.kirupa.com/web/apache_php.htm](http://www.kirupa.com/web/apache_php.htm)
and now MySQL can’t find the localhost. I am running Windows XP Professional and this is on my local machine. Here’s the steps I took:
I first installed MySQL into this directory:
C:\mysql
I then installed MySQL as a service by running “mysqld-nt -install”. I also updated my PATH line so I could access MySQL from the command prompt by simply typing “mysql”
Everything worked fine with MySQL after the above steps. Then I followed all the steps in the tutorial, installing Apache and php to
C:\phpServer\Apache2 and
C:\phpServer\php respectively.
I created the test page and a phpinfo page and both work great. However. Now when I try to access MySQL from the command prompt, I get this error: “ERROR 2003: Can’t connect to MySQL server on ‘localhost’ (10061)”
I am not going to assume that I know a solution as I am installing this to attempt my first php/database project. Any help is greatly appreciated.
thanks!