chaning max number of connections for mysql code example
Example: mysql set max connections
show variables like "max_connections";
set global max_connections =5000;
show variables like "max_connections";
set global max_connections =5000;