2 messages in com.mysql.lists.communityRE: Help understanding how the connec...
FromSent OnAttachments
Gonçalo Silva Dias02 Aug 2004 18:10 
Carlos Proal02 Aug 2004 19:04 
Subject:RE: Help understanding how the connection works
From:Carlos Proal (pro@hotmail.com)
Date:08/02/2004 07:04:39 PM
List:com.mysql.lists.community

Hi, you cant connect to mysql with telnet, the service running in 3306 supports a dbms specific protocol so you need to use the "mysql" command aka mysql client to connect to mysql and execute any sql query.

Carlos

From: Gonçalo Silva Dias <gsd@netcabo.pt>

To: <mys@lists.mysql.com>,<comm@lists.mysql.com> Subject: Help understanding how the connection works Date: Tue, 3 Aug 2004 02:10:56 +0100

Hi ppl,

I’m trying to access to mysql server by telnet. When I do like “telnet localhost 3306” if I write something the error is “Bad handshake”. Well can anyone tell me what info do I need to send to the server to establish a connection with mysql server? So I can execute some queries?