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