mysql查看,修改最大连接数

 
1、查询数据库当前设置的最大连接数
mysql> show variables like '%max_connections%';
2、设置新的最大连接数为200:
mysql> set GLOBAL max_connections=200

猜你喜欢

转载自www.cnblogs.com/workdiary/p/9293665.html