Skip to content

Instantly share code, notes, and snippets.

@guenter
Created September 1, 2010 15:58
Show Gist options
  • Save guenter/560908 to your computer and use it in GitHub Desktop.
Save guenter/560908 to your computer and use it in GitHub Desktop.
MySQL commands I forget all the time
-- Reset the query cache
RESET QUERY CACHE;
-- Closes all open tables, forces all tables in use to be closed, and flushes the query cache.
FLUSH TABLES;
-- Show character set in use by client, server, etc.
SHOW VARIABLES LIKE 'character_set%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment