-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inactive connections should be closed after wait_timeout
#8245
Comments
When the client is down or something goes wrong, some connections will not turned to be idle forever, unless
|
Anyway, MySQL variable |
For MySQL compatibility, there are actually two settings: Interactive applies to command line clients etc. Anything that sets the interactive 'bit' in the client protocol. |
I will try to do this. |
Support for |
Bug Report
Currently TiDB doesn't close a connection automatically, however if the client was down or something goes wrong, some connections are turned to be idle forever, which should be closed.
MySQL use the variable
wait_timeout
to define the number of seconds the server waits for activity on a non-interactive connection before closing it. We can follow this behavior as well.For more detail, see: https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_wait_timeout
The text was updated successfully, but these errors were encountered: