thinkphp出现 mysql too many connections
PHP中文网
PHP中文网 2017-04-17 14:57:39
0
3
1218

thinkphp mysql too many connection
这个错误!
大家有没有遇到呀?
求助~
我的mysql最大连接数是300

PHP中文网
PHP中文网

认证0级讲师

reply all(3)
洪涛

Log in to the mysql terminal and use show full processlist to view the mysql connection information.

Ty80

Mysql has reached the upper limit of the number of connections. Just modify the configuration of mysql.

show variables like '%max_connections%';
set global max_connections = 5000;

If the number of connections is more than 5,000, it is necessary to separate the read and write from the master-slave replication to avoid the upper limit of single-machine read and write.

刘奇

Restart mysql, or disconnect from the Internet immediately, it is possible that your mysql database has been Ddosed by someone else

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template