1 编辑/etc/my.cnf文件,增加一行max_connections=10000,默认为100

vim /etc/my.cnf

连接mysql出现too many connections解决方法

2 重启mysql服务

service mysql restart

 

相关文章:

  • 2021-12-04
  • 2021-12-20
  • 2021-10-11
  • 2022-01-11
  • 2021-11-20
  • 2021-12-30
猜你喜欢
  • 2021-07-05
  • 2022-01-16
  • 2021-11-23
  • 2022-12-23
  • 2021-06-23
相关资源
相似解决方案