如何查看连接mysql的ip地址

select SUBSTRING_INDEX(host,':',1) as ip , count(*) from information_schema.processlist group by ip;

posted @ 2016-10-21 09:31  limeOracle  阅读(18556)  评论(0编辑  收藏  举报