I have MySQL server installed and I would like it to stop dropping inactive connections. Which option do I need to adjust? The MySQL server is installed on a Windows machine.
Thanks
You are looking for the MySQL wait_timeout variable.
SET @@GLOBAL.wait_timeout=2147483
来源:https://stackoverflow.com/questions/9488390/mysql-connection-timeout-inactivity