查看mysql连接情况,以及连接超时时间设置

查看连接:

show processlist;   只展示100个连接

show full processlist;    展示所有连接

 

查看超时时间:

show variables like  '%timeout%';

闲置连接的超时时间由wait_timeout控制、默认8小时。
---------------------
作者:purple尘
来源:CSDN
原文:https://blog.csdn.net/cscrazybing/article/details/53303807
版权声明:本文为博主原创文章,转载请附上博文链接!

posted on 2018-12-24 20:53  ExplorerMan  阅读(11883)  评论(0编辑  收藏  举报

导航