当连接数据库报,too many connection的时候

大概是数据库的连接数被占满了

 

检查哪些服务在长连接占满数据库的连接数,关掉应该就可以了

 

查看数据库的最大连接数

show variables like '%max_connection%';

[mysql] 查看mysql的最大连接数解决too many connection

 

 

查看所有用户的当前连接

show full processlist;

[mysql] 查看mysql的最大连接数解决too many connection

 

相关文章:

  • 2021-11-13
  • 2021-12-19
  • 2021-12-11
  • 2021-11-20
  • 2021-08-17
  • 2021-10-11
  • 2022-02-25
  • 2021-06-06
猜你喜欢
  • 2022-12-23
  • 2021-10-21
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2021-06-17
  • 2022-02-07
相关资源
相似解决方案