Skip to content

Instantly share code, notes, and snippets.

@djravine
Last active May 2, 2017 07:55
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djravine/6f12ec1f5a4a7f0b19ba4d12cfba5feb to your computer and use it in GitHub Desktop.
Save djravine/6f12ec1f5a4a7f0b19ba4d12cfba5feb to your computer and use it in GitHub Desktop.
OpenShift V2 - MySQL - Repair All Databases
mysqlcheck --repair --all-databases -h $OPENSHIFT_MYSQL_DB_HOST -P ${OPENSHIFT_MYSQL_DB_PORT:-3306} -u ${OPENSHIFT_MYSQL_DB_USERNAME:-'admin'} --password="$OPENSHIFT_MYSQL_DB_PASSWORD"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment