Mysql - Show Current Active Connections

 

 

mysql> SHOW STATUS WHERE `variable_name` = 'Threads_connected';

  

mysql> show processlist;  (or)    SHOW FULL PROCESSLIST\G;

 

 

mysql> KILL 'ID';  // Kill the connection

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

posted @ 2014-03-25 14:22  makemelike  阅读(488)  评论(0编辑  收藏  举报