From: Warren Young Date: August 18 2010 1:33pm Subject: Re: ReadTimeout List-Archive: http://lists.mysql.com/plusplus/9019 Message-Id: <4C6BE111.3030808@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 8/17/2010 6:03 PM, Joe Stein wrote: > What is the ReadTimeout default when using mysql++ ? MySQL++ doesn't set any MySQL C API option values itself. The MySQL++ default is the C API default. The C API reference manual for MYSQL_OPT_READ_TIMEOUT says this: "The timeout in seconds for attempts to read from the server. Each attempt uses this timeout value and there are retries if necessary, so the total effective timeout value is three times the option value. You can set the value so that a lost connection can be detected earlier than the TCP/IP Close_Wait_Timeout value of 10 minutes. This option works only for TCP/IP connections and, prior to MySQL 5.1.12, only for Windows." I suppose to learn anything more, the next step would be to dig into the C API code.