Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: HOW TO USE TELNET TO CONNECT TO MYSQL

Re: HOW TO USE TELNET TO CONNECT TO MYSQL

From: Rauf Sarwar <rs_arwar_at_hotmail.com>
Date: 13 Jul 2002 11:27:01 -0700
Message-ID: <92eeeff0.0207131027.3495e3f8@posting.google.com>


Saurabh.Bhatnagar_at_ca.com (Saurabh Bhatnagar) wrote in message news:<6dad5e97.0207121701.46dada9_at_posting.google.com>...
> If you are getting a connection failed message, that means that you
> were never able to connect to that box on that port and it is not a
> server application response.
> Try -
> netstat -an | find "3306"
> Make sure that port is in a LISTEN state. Then you can go ahead and
> connect to it using -
> telnet localhost 3306
>
> Hopefully this helps,
> Saurabh.

To add to above,

Generally telnet's default port is 23. If you are telneting to a Windows machine which in your case is (localhost) then make sure telnet service is started before attempting the connection. Start the service then,

telnet localhost 23

HTH
//Rauf Sarwar Received on Sat Jul 13 2002 - 13:27:01 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US