Created
November 28, 2017 15:18
-
-
Save Vladnev/d0bec5f749805d770f8846d2114c2d89 to your computer and use it in GitHub Desktop.
First start of mysql server
This file contains hidden or 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 -u root | |
DROP USER 'root'@'localhost'; | |
CREATE USER 'root'@'localhost' IDENTIFIED BY ''; - for all hosts change localhost to %, not recommend | |
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost'; | |
FLUSH PRIVILEGES; | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment