Page 1 of 1

Newbie installing on Localhost

Posted: Thu Jan 01, 2004 11:30 am
by Dreadlox
I'm wanting to learn PHP so I decided to run Apache/PHP/mySQL on my personal machine. In the past I did it with no problem but now I'm getting a error trying to set up my password in mySQL. I know this is not a mySQL forum but I figured most of you have or do know about installing mySQL on your own systems.

Here what I have been getting Erorr:

Code: Select all

mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.
You can check this by doing 'telnet localhost 3306'
I then entered 'telnet localhost 3306'

Code: Select all

Connecting to localhost...Could not open connection to the host, on port 3306: Connect failed
I do have a router that has a built in firewall, yet I don't see what would be the problem since its a localhost. Any feed back would be great so I can get underway. Thanks!

Posted: Thu Jan 01, 2004 12:03 pm
by Straterra
This should be in databases..and it seems like MySQL is listening on a different port. Set MySQL to the correct port.

Posted: Thu Jan 01, 2004 12:15 pm
by Dreadlox
This should be in databases
Ouch, my fault. Didn't see the Databases forum. Fist time this has ever happen, I'm no forum newbie :oops:

How would I change the port to the Correct Port?

Posted: Thu Jan 01, 2004 4:08 pm
by infolock
try reading this :

viewtopic.php?t=16116