MySQL Set MAX Connexions

show variables like "max_connections";
set global max_connections =5000;
Shiny Stag