Hello list,

I am planing to write a script to telnet mysql server(port:3306) and try
to verify the server status. When I try something like this:

home:~ #telnet localhost 3306
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
,
3.23.49-logúm>|zn:u`^,Connection closed by foreign host.
home:~ #


Well, it seems that I have no idea complete the handshaking.

Is there any way that I can type something and expect something to
return?

-- 
Patrick Hsieh <[EMAIL PROTECTED]>
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to