Linux环境下:
打开配置文件 添加一下配置 vi /etc/my.cnf 并新增以下配置
Mysql Too many connections
原文:https://www.cnblogs.com/arebirth/p/mysqlconnecttomany.html