Hello,
Thank you very much for these informations about timeout.
About connectTimeout set with properties,
I have made a mistake while saying that it doesn't works.
I am sorry.
I fact, I made an error while 'simulating' a connect timeout
I use kill -STOP to the mysqld process, but the java connect() function was
succesful.
My test program was hang, because I didn't set a socketTimeout, so
the doHandshake method (from MysqlIO) was hang.
I don't know how to simulated a connect timeout.
If no mysqld is running, I immediately catch a ConnectException: Connection
refused,
not a SocketTimeoutException.
Regards.