Created
August 2, 2018 15:56
-
-
Save BenFausch/23492dccd9ddccadc5c7067a1a655eb0 to your computer and use it in GitHub Desktop.
Update Homebrew SQL Password
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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