From: Kamalakar Reddy Y Date: September 10 2012 10:37am Subject: Re: Help with mysql connect_timeout List-Archive: http://lists.mysql.com/mysql/228145 Message-Id: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf300514c8c797e704c9568975 --20cf300514c8c797e704c9568975 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. --20cf300514c8c797e704c9568975--