View previous topic :: View next topic |
Author |
Message |
tadamsmar
Joined: 28 Dec 2009 Posts: 6
|
Posted: Thu Jan 14, 2010 11:17 pm Post subject: How to set connect_timeout? |
|
|
I want to set that for a client program using the C library.
The client function that I have written is trying to connect with a database over the network.
I want it to timeout faster than the default.
I don't see a way to set connect_timeout in a program.
There may be a way to do it with a my.cnf file, but I am not sure how to get the file to execute and override the default. |
|
Back to top |
|
 |
jfp
Joined: 12 Jul 2004 Posts: 625
|
|
Back to top |
|
 |
|