show full processlist
show variables like '%max_connections%';
SELECT substring_index(host, ':',1) AS host_name,state,count(*) FROM information_schema.processlist GROUP BY state,host_name;
show global variables like '%wait_timeout';
set global max_connections = 1000;
set global wait_timeout=250;