I have a
my.cnf file. In it I see
wait_timeout as well as
connect_timeout. What's the difference between these 2?
Right from the MySQL Documentation
- wait_timeout : The number of seconds the server waits for activity on a noninteractive connection before closing it.
- connect_timeout : The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake
wait_timeout is how long to keep a connection open.
connect_timeout is how long to wait for a connection to be made.
This is my best understanding, please comment or edit as needed.