mysql查看,修改最大连接数

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

posted on 2018-07-11 11:49  *闲云野鹤*  阅读(123)  评论(0编辑  收藏  举报

导航