Skip to content

Instantly share code, notes, and snippets.

@keopx
Created September 11, 2015 12:39
Show Gist options
  • Save keopx/bd5c2ff681f123ff740e to your computer and use it in GitHub Desktop.
Save keopx/bd5c2ff681f123ff740e to your computer and use it in GitHub Desktop.
MySQL OPTIMIZE all tables
mysqlcheck -o --all-databases
mysqlcheck -u [username] -p[password] -o [database name]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment