查看mysql某个库的活动链接数 SELECT COUNT(1) AS connection_count FROM information_schema.processlist WHERE db = '****'