dbTalk Databases Forums  

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

mailing.database.mysql-win32 mailing.database.mysql-win32


Discuss "can't connect to mysql server 'localhost' (10061)" in the mailing.database.mysql-win32 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Asad Khan
 
Posts: n/a

Default "can't connect to mysql server 'localhost' (10061)" - 10-28-2003 , 11:10 AM






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?)



Reply With Quote
  #2  
Old   
Asad Khan
 
Posts: n/a

Default Re: "can't connect to mysql server 'localhost' (10061)" - 10-28-2003 , 11:16 AM






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" <aik__1 (AT) hotmail (DOT) com> wrote

Quote:
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?)





Reply With Quote
  #3  
Old   
Benoit St-Jean
 
Posts: n/a

Default Re: "can't connect to mysql server 'localhost' (10061)" - 10-31-2003 , 11:28 AM



"Asad Khan" <aik__1 (AT) hotmail (DOT) com> wrote

Quote:
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?
Looks like your server isn't started... Check out the options for
mysqld.

Try to stat it at the command line first... The try starting the
client at the command line as well... After everything works, you can
install the server as a Windows service...


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.