Home  »  CodeProgrammingSnippetsTechnologyTools   »   MySQL Set Max Connections Code

MySQL Set Max Connections Code

Posted: September 11, 2022 | by Michael Bright

MySQL set max connections example code snippet:

-- show current max connects
SHOW VARIABLES LIKE "max_connections";

-- Output

Variable_name    Value   
---------------  --------
max_connections  1000     

SET GLOBAL max_connections =1000;

-- max connections is 1500

Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.