Created
September 9, 2020 16:06
-
-
Save nghiahsgs/dacbe67850d09601b53f82e6692cf93f to your computer and use it in GitHub Desktop.
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
sudo mysql | |
mysql > SELECT user,authentication_string,plugin,host FROM mysql.user; | |
mysql > ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; | |
mysql > FLUSH PRIVILEGES; | |
mysql > SELECT user,authentication_string,plugin,host FROM mysql.user; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment