Last active
April 29, 2021 20:25
-
-
Save amrography/166eda431f29a60bcb60eb75a4276276 to your computer and use it in GitHub Desktop.
[Change mysql password] Update mysql password using command line #mysql
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
ALTER USER 'root'@'localhost' IDENTIFIED BY 'password'; | |
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; | |
FLUSH PRIVILEGES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment