Mysql connectTimeout And socketTimeout not working
Posted by: Ravindra Desai
Date: June 25, 2014 07:02AM

Hi

While connecting to mysql database through jdbc connection i'm using socketTimeout and connectTimeout. Its working but not properly.

I set both timeout 15000(15 sec) but when connection is not available its timing out at around 1 min 25 sec.

Actually its not taking 1000 units as one second, so anybody can help me.

Regards
Ravindra

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.