查看mysql被那些ip地址连接
mysql> select SUBSTRING_INDEX(host,':',1) as ip , count(*) from information_schema.processlist group by ip; +----------------+----------+ | ip | count(*) | +----------------+----------+ | 113.53.126.19 | 6 | +----------------+----------+ 1 row in set mysql> mysql>
####################