SHOW VARIABLES LIKE "max_connections";
SHOW VARIABLES LIKE "wait_timeout";
SET GLOBAL max_connections = 5000;
SELECT @@MAX_CONNECTIONS AS 'Max Connections';
SHOW FULL PROCESSLIST;
SHOW PROCESSLIST;
SHOW VARIABLES LIKE "max_connections";
SHOW VARIABLES LIKE "wait_timeout";
SET GLOBAL max_connections = 5000;
SELECT @@MAX_CONNECTIONS AS 'Max Connections';
SHOW FULL PROCESSLIST;
SHOW PROCESSLIST;