Instantly share code, notes, and snippets.

@BenFausch BenFausch/
Created Aug 2, 2018

What would you like to do?
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