Default Mysql Timeout
Posted 20 September 2006 - 05:12 PM
Let me give you a scenerio as to why I am asking.
I have a perl script which connects to a remote MySQL database. When the scrprt crashes, does the connection get severed?? And if it does not, how long will mysql wait before it disconnects?
Reason I ask is our host said we were getting too many connection to the mysql box and I was wondering why. I have a program which restart the script when it crashes. So the only thing I could think of, is the connection was remaining when the script would crash and it made a new one when it was restarted. So I want to give a delay to the program to restart if it crashes outside the timeout value.
Posted 20 September 2006 - 05:15 PM
2. MySQL help is in the MySQL forum.
Posted 20 September 2006 - 05:17 PM
Posted 20 September 2006 - 05:22 PM
Posted 20 September 2006 - 05:25 PM
Posted 20 September 2006 - 05:44 PM
Posted 21 September 2006 - 12:38 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users