469,273 Members | 1,760 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,273 developers. It's quick & easy.

"can't connect to mysql server 'localhost' (10061)"

Hello,

I was using MySQL till a few days ago just fine. Now everytime I try to run
it using mysql.exe, I get the following error:

"can't connect to mysql server 'localhost' (10061)"

What can I do to get rid of this? (What is 10061?)
Jul 19 '05 #1
2 42079
FYI: I just did this as well:

C:\Program Files\MySQL\afterinstall\bin>mysqladmin ping
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'

C:\Program Files\MySQL\afterinstall\bin>telnet localhost 3306
Connecting To localhost...Could not open a connection to host on port 3306 :
Con
nect failed

What's going on? What should i do?

Asad
"Asad Khan" <ai****@hotmail.com> wrote in message
news:Lp*******************@news04.bloor.is.net.cab le.rogers.com...
Hello,

I was using MySQL till a few days ago just fine. Now everytime I try to run it using mysql.exe, I get the following error:

"can't connect to mysql server 'localhost' (10061)"

What can I do to get rid of this? (What is 10061?)

Jul 19 '05 #2
FYI: I just did this as well:

C:\Program Files\MySQL\afterinstall\bin>mysqladmin ping
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'

C:\Program Files\MySQL\afterinstall\bin>telnet localhost 3306
Connecting To localhost...Could not open a connection to host on port 3306 :
Con
nect failed

What's going on? What should i do?

Asad
"Asad Khan" <ai****@hotmail.com> wrote in message
news:Lp*******************@news04.bloor.is.net.cab le.rogers.com...
Hello,

I was using MySQL till a few days ago just fine. Now everytime I try to run it using mysql.exe, I get the following error:

"can't connect to mysql server 'localhost' (10061)"

What can I do to get rid of this? (What is 10061?)

Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by techBoy | last post: by
4 posts views Thread by SpaceMarine | last post: by
12 posts views Thread by Jonathan Wood | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.