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.
| Thread |
|---|
| • ReadTimeout | Joe Stein | 18 Aug |
| • Re: ReadTimeout | Warren Young | 18 Aug |