Last active
February 3, 2016 09:51
-
-
Save carltondickson/c0e2ba76c9f752ef8f76 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
# Show running queries | |
SHOW FULL PROCESSLIST; | |
# Show who is connected | |
SHOW STATUS LIKE '%onn%'; | |
# Search stored procedures for a string | |
SELECT * FROM information_schema.`ROUTINES` r WHERE r.`ROUTINE_DEFINITION` LIKE '%string%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment