Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: HOW TO USE TELNET TO CONNECT TO MYSQL
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
![]() |
![]() |