如何處理: Can not connect to MySQL server. Too many connections
2018-08-05 17:07:5214935
MySQL報(bào)錯(cuò)Can not connect to MySQL server. Too many connections,報(bào)錯(cuò)很明確,與MySQL的連接數(shù)滿(mǎn)了。mysql最大連接數(shù)默認(rèn)為100,看來(lái)有必要改大一點(diǎn)了。
The maximum number of connections MySQL can support depends on the quality of the thread library on a given platform, the amount of RAM available, how much RAM is used for each connection, the workload from each connection, and the desired response time. Increasing open-files-limit may be necessary. Also see Section 2.5, “Installing MySQL on Linux”, for how to raise the operating system limit on how many handles can be used by MySQL.