Chinaunix

标题: mysql慢查询问题 [打印本页]

作者: 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';




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2