参考:https://blog.csdn.net/ivory_town1/article/details/77702357


  1.修改参数配置文件
  vi /etc/my.cnf
  [mysqld]
  wait_timeout    = 28800
  interactive_timeout    =  28800
  #增加以上两列即可,因为官方文档要求修改此参数必须同时修改interactive_timeout
 
 
  2.重启数据库
  Service mysql restart
 
  3.查看数据库参数是否修改成功
 
  Show variables like ‘wait_timeout’;
 

相关文章:

  • 2021-06-17
  • 2021-09-04
  • 2022-12-23
  • 2021-06-01
  • 2021-08-19
  • 2021-11-11
  • 2022-01-07
猜你喜欢
  • 2021-11-24
  • 2021-10-26
  • 2022-12-23
  • 2021-11-26
  • 2021-09-26
  • 2022-12-23
  • 2021-10-17
相关资源
相似解决方案