Created
November 12, 2014 00:45
-
-
Save tcelestino/306ed80fc5933ad27dc1 to your computer and use it in GitHub Desktop.
set password mysql mac os
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
cd /usr/local/mysql/bin/ | |
./mysql -u root -p | |
> Enter password: [type old password invisibly] | |
use mysql; | |
update user set password=PASSWORD("NEW_PASSWORD_HERE") where User='root'; | |
flush privileges; | |
quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment