From: Kamalakar Reddy Y Date: September 10 2012 10:28am Subject: Help with mysql connect_timeout List-Archive: http://lists.mysql.com/mysql/228144 Message-Id: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=485b397dce03ea90ef04c9566ae2 --485b397dce03ea90ef04c9566ae2 Content-Type: text/plain; charset=ISO-8859-1 But connect-timeout has nothing to do with termination of query. It is no. of secs that mysqld server waits for a connect packet before responding with Bad handshake, default value is 10 seconds. Probably you should adjust net_read /write_ timeout. --485b397dce03ea90ef04c9566ae2--