Just look into man of mysqld.
· connect_timeout
The number of seconds before connection timeout. (Default value is
0.)
See that?! Default value is 0 - it means infinity!
No need to have such risk.
Hence quickly add the following parameter to your scripts (example below use 5 seconds timeout):
--connect_timeout=5
Немає коментарів:
Дописати коментар