1. 通过show variables like '%max_connections%';命令查看
ps:
mysql之前版本,默认100,mysql8变成151
2. 修改
set GLOBAL max_connections = 200;
3. 也可以在my.ini配置文件通过max_connections=1000修改
1. 通过show variables like '%max_connections%';命令查看
ps:
mysql之前版本,默认100,mysql8变成151
2. 修改
set GLOBAL max_connections = 200;
3. 也可以在my.ini配置文件通过max_connections=1000修改