mostrar lista de procesos completa
mostrar variables como '%max_connections%';
SELECCIONE substring_index(host, ':',1) COMO nombre_host, estado, recuento (*) DESDE information_schema.processlist GRUPO POR estado, nombre_host;
mostrar variables globales como '%wait_timeout';
establecer max_connections globales = 1000;
establecer wait_timeout global = 250;