1/status

mysql status各个参数意义(主要查询 链接数不要太大)

链接数:Threads;
2/show processlist; 可以显示前100条连接信息 show full processlist; 可以显示全部
3/show variables like ‘%timeout%’;查看链接超时时间
4、show variables like ‘%connections%’; 查看最大链接数
5、修改配置
vim /usr/local/mysql/my.cnf
wait_timeout=31104000
interactive_timeout = 31104000

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-27
  • 2021-12-04
  • 2022-12-23
  • 2021-12-05
  • 2022-01-29
猜你喜欢
  • 2022-01-12
  • 2022-12-23
  • 2021-10-20
  • 2022-12-23
  • 2021-12-21
  • 2022-12-23
  • 2021-09-26
相关资源
相似解决方案