Data source rejected establishment of connection, message from server: “Too many connections“
访问本地数据库报错
Data source rejected establishment of connection, message from server: “Too many connections“
这个问题是因为连接数太多了,数据库的连接数是有上限的,一般是带有connection的数据库参数,例如max_connections
最大连接数或max_used_connections
响应连接数
查看带有connection的数据库参数,还是报错
果断重启MySQL服务
成功!!!