Newbie installing on Localhost

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
Dreadlox
Forum Newbie
Posts: 2
Joined: Thu Jan 01, 2004 11:30 am

Newbie installing on Localhost

Post 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!
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

This should be in databases..and it seems like MySQL is listening on a different port. Set MySQL to the correct port.
Dreadlox
Forum Newbie
Posts: 2
Joined: Thu Jan 01, 2004 11:30 am

Post 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?
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

try reading this :

viewtopic.php?t=16116
Post Reply