| View previous topic :: View next topic |
| Author |
Message |
DayCuts Voice
Joined: 15 Jun 2004 Posts: 37
|
Posted: Sat Apr 07, 2007 2:31 am Post subject: help with mysqltcl mod and long mysqlconnect timeouts |
|
|
The problem is basically that if i write a script that uses mysqltcl, and there is at any point a problem connecting to the mysqld (maybe its ip changed for example), there is a rather large timeout period (about 3 minutes) before throws the tcl error (or moves on/logs if im using catch).
My query is, how do i reduce this timeout period, if at all possible. Any solution need not be related directly to eggdrop or mysqltcl. Although that would be prefered (if there is a way), any solution within the linux dist, tcllib, eggdrop, mysqltcl, etc would be greatly appreciated.
TIA. |
|
| Back to top |
|
 |
asder-- Voice
Joined: 19 Aug 2011 Posts: 1
|
Posted: Fri Aug 19, 2011 8:45 pm Post subject: |
|
|
I got the same problem/question.
Anyone knows how to do this?
Thanks! |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Aug 20, 2011 8:28 am Post subject: |
|
|
myslqtcl does not permit you to pass any timeout-options directly, however, the ::mysql::connect command does read the my.cnf-file for options in the mysqltcl group. This suggests that you might be able to use the connect-timeout option there, though I have not tested this myself. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
|