centos mysql最大连接数设置无效问题

解决方案

参考

https://www.oschina.net/question/853151_241231

It was indeed limits set by the OS. Resolved it with :

Edit file /usr/lib/systemd/system/mysqld.service
Add at end:

LimitNOFILE=65535
LimitNPROC=65535

$ systemctl daemon-reload
systemctl restart  mysqld.service
 

相关文章:

  • 2022-12-23
  • 2022-02-27
  • 2022-12-23
  • 2021-11-19
  • 2021-12-22
猜你喜欢
  • 2022-12-23
  • 2022-01-25
  • 2022-03-08
  • 2021-09-20
相关资源
相似解决方案