huangguirong201 发表于 2014-08-29 09:52

mysql慢查询问题

各位大哥请问一下,查看mysql在一段时间内的链接数能查吗? 例如今天的11点至13点

huangguirong201 发表于 2014-09-09 10:23

为何没人回复我呢,晕

chenfeng 发表于 2016-09-08 16:59

在今天的11点至13点时登录MySQL,并执行如下命令:
mysql> show variables like 'max_user_connections';

chenfeng 发表于 2016-09-08 17:01

本帖最后由 chenfeng 于 2017-02-27 16:09 编辑

在今天的11点至13点时候登录MySQL,并执行如下命令:
mysql>show variables like 'max_user_connections';
mysql>show variables like 'max_connections';
mysql>show global status like 'max_used_connections';




yy331412486 发表于 2016-10-21 11:52

show global status like 'max_used_connections';
页: [1]
查看完整版本: mysql慢查询问题