Created
April 24, 2016 13:31
-
-
Save nitinbhojwani/e03125bd41a5dbbeacb7b43d287ec3d8 to your computer and use it in GitHub Desktop.
MySQL - Useful Queries
This file contains 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
# To Get the list of all the processes | |
show processlist; | |
# kill connection or current query of a connection | |
kill connection <connection_id> | |
kill query <connection_id> | |
# Currently Connections Count | |
show status where `variable_name` = 'Threads_connected'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment