Skip to content

Instantly share code, notes, and snippets.

@tribulant
Created March 20, 2017 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tribulant/00759f5155ef9676f36295efb497304a to your computer and use it in GitHub Desktop.
Save tribulant/00759f5155ef9676f36295efb497304a to your computer and use it in GitHub Desktop.
Optimize and Repair a Single Database
mysqlcheck -u root -p --auto-repair --optimize --databases mydatabase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment