Created
March 16, 2015 12:07
-
-
Save Techmind/b1f1b683e15e60d06919 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 -uroot -p123 -e "CREATE USER 'homestead'@'%' IDENTIFIED BY 'secret';" | |
mysql -uroot -p123 -e "GRANT ALL PRIVILEGES ON * . * TO 'homestead'@'%';" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment