【问题标题】:MySQL connection timeout, inactivityMySQL连接超时,不活动
【发布时间】:2012-03-18 07:19:57
【问题描述】:

我安装了 MySQL 服务器,我希望它停止丢弃非活动连接。我需要调整哪个选项? MySQL 服务器安装在 Windows 机器上。

谢谢

【问题讨论】:

    标签: mysql timeout python-idle


    【解决方案1】:

    您正在寻找 MySQL wait_timeout variable

    SET @@GLOBAL.wait_timeout=2147483
    

    【讨论】:

      猜你喜欢
      • 2015-06-06
      • 2017-02-27
      • 2016-08-18
      • 2020-12-21
      • 2011-02-05
      • 1970-01-01
      • 1970-01-01
      • 2021-10-11
      • 2012-07-29
      相关资源
      最近更新 更多