Re: Mysql connectTimeout And socketTimeout not working
Posted by: Filipe Silva
Date: July 09, 2014 12:12PM

Hi,

'connectTimeout' is a Connector/J connection property that works at network level by stating how long are you willing to wait to establish a connection (socket) between client and server.

Establishing the network connection (socket) is only part of the process of establishing the JDBC Connection, which includes a successful authentication, the Connection setup, etc. 'LoginTimeOut' is a JDBC setting, through java.sql.DriverManager.setLoginTimeout(), that sets the time you are willing to wait for a valid java.sql.Connection instance.

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.