Home  »  CodeProgrammingSnippetsTechnologyTools   »   MySQL Set Max Connections Code

MySQL Set Max Connections Code

Posted: September 11, 2022 | by Site Host

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.

Share it!

See also  UFW Allow PostgreSQL Database Service