connection timeout
Posted by: Manuel Baerten
Date: May 29, 2012 02:05AM

Hello everybody,

is there a possibility to set a real connection timeout?

If the server machine is powered off or the IP-Adress doesn't belong
to the MySQL-server, the connection-timeout is about 20 seconds.

The MySQL-Option "MYSQL_OPT_CONNECT_TIMEOUT" is well set to 2 seconds,
but this kind of timeout isn't to handle the real connection.

Is there a possibility to avoid this problem with the libmysql?

Big thanks

Options: ReplyQuote

Written By
connection timeout
May 29, 2012 02:05AM

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.