Re: Mysql connectTimeout And socketTimeout not working
Posted by: Filipe Silva
Date: July 21, 2014 10:46AM

Hi,

Yes, both 'connectTimeOut' and 'socketTimeout' units are milliseconds. DriverManager.getLoginTimeout() uses seconds though.

If you think that there is a significant discrepancy between your settings and the real wait time, please report a bug so that we can check it out closely. Please provide a code example and the most possible detail (Connection properties, Java version, MySQL and Connector/J versions used).

Thank you,
Filipe

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.