MySQL问题

1040 - Too many connections

Posted by dm on September 26, 2020

异常报错 1040 - Too many connections

## 重启MySQL 

## 查看最大连接数
show variables like '%max_connections%'; 

## 查看连接进程
show processlist;

## 设置连接数
set GLOBAL max_connections=1000;