Skip to content

Instantly share code, notes, and snippets.

@tribulant
Created March 20, 2017 10:28
Show Gist options
  • Save tribulant/caadd33029765f676f349afbf35029b1 to your computer and use it in GitHub Desktop.
Save tribulant/caadd33029765f676f349afbf35029b1 to your computer and use it in GitHub Desktop.
Optimize and Repair All Databases on Server
mysqlcheck -u root -p --auto-repair --optimize --all-databases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment