Created
May 5, 2016 14:18
-
-
Save cdracars/aa9fc38ee518504a01402886e3cc5a30 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
mysql -u root | |
SELECT PASSWORD('MYFANCYPASSWORD') | |
copy the output hash * and all. | |
CREATE USER 'myfancyusername'@'%' IDENTIFIED BY PASSWORD '*HASH'; | |
GRANT ALL PRIVILEGES ON *.* TO 'myfancyusername'@'%' WITH GRANT OPTION; | |
FLUSH PRIVILEGES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment