查看连接数
show variables like ‘%max_connections%’
临时修改
set global max_connections=500
永久修改
修改my.cnf中[mysqld]下的参数max_connections = 1000
查看连接数
show variables like ‘%max_connections%’
临时修改
set global max_connections=500
永久修改
修改my.cnf中[mysqld]下的参数max_connections = 1000