查看mysql 服务有哪些ip地址在连接。 select SUBSTRING_INDEX(host,':',1) as ip , count(*) from information_schema.processlist group by ip;