Last active
December 29, 2015 10:49
-
-
Save vishwasbabu/7659222 to your computer and use it in GitHub Desktop.
MySQL Connection timeout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> Check number of max used connections | |
SHOW STATUS WHERE variable_name = 'Max_used_connections' | |
>> Check number of threads connected | |
SHOW STATUS WHERE variable_name = 'Threads_connected' | |
>> Update max connection variable | |
show variables like "max_connections"; | |
set global max_connections = 2000; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment