Bug #51465 Connection timeout option
Submitted: 24 Feb 2010 16:10 Modified: 5 May 2010 10:09
Reporter: Greg Thomas Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Proxy: Core Severity:S4 (Feature request)
Version:0.8.0 OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[24 Feb 2010 16:10] Greg Thomas
Description:
There is currently no option to be able to specify a timeout when connecting to the backend database. If a client has a shorter timeout configured than whatever default the proxy uses, then the client can report a connection failure when one of the backend databases is down, even if others are available.

How to repeat:
N/A

Suggested fix:
Add connect-timeout and socket-timeout configuration options on the command line/in the configuration file. This would bring the proxy in line with, for example, the JDBC driver which uses connectTimeout/socketTimeout

(http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html)
[5 May 2010 10:09] Enterprise Tools JIRA Robot
Mark Leith writes: 
This is a duplicate of http://bugs.mysql.com/bug.php?id=48570, and is being worked on as a part of the resolution for that issue.