-
-
Save henrypalacios/e60e75d44cc74c69508bf53286ae8785 to your computer and use it in GitHub Desktop.
Create User with root privileges
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
| mysql -u root -p | |
| CREATE USER 'homestead'@'localhost' IDENTIFIED BY 'some_pass'; | |
| GRANT ALL PRIVILEGES ON *.* TO 'homestead'@'localhost' WITH GRANT OPTION; | |
| CREATE USER 'homestead'@'%' IDENTIFIED BY 'some_pass'; | |
| GRANT ALL PRIVILEGES ON *.* TO 'homestead'@'%' WITH GRANT OPTION; | |
| FLUSH PRIVILEGES; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment