SELECT @@MAX_CONNECTIONS AS 'Max Connections';set GLOBAL max_connections=10000;
show status like '%thread%';