Skip to content

Instantly share code, notes, and snippets.

@BenFausch
Created August 2, 2018 15:56
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 BenFausch/23492dccd9ddccadc5c7067a1a655eb0 to your computer and use it in GitHub Desktop.
Save BenFausch/23492dccd9ddccadc5c7067a1a655eb0 to your computer and use it in GitHub Desktop.
Update Homebrew SQL Password
#for a specific mysql version:
$(brew --prefix mysql@5.7)/bin/mysqladmin -u root -p password NEWPASS
#for generic
$(brew --prefix mysql)/bin/mysqladmin -u root -p password NEWPASS
#may or may not need -p, depending on if you know the pass or not
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment