Created
June 2, 2017 06:54
-
-
Save bjethwan/14c37493cec4675abc37453facf7c1fe to your computer and use it in GitHub Desktop.
mysql - user management
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
— User Management | |
mysql> create user ‘bipin'@'localhost' identified by ‘jethwani’; | |
mysql> grant all on *.* to 'bipin'@'localhost’; | |
mysql> grant all on *.* to bipin@'%' identified by 'jethwani’; | |
mysql> FLUSH PRIVILEGES | |
mysql> select host, user, password from mysql.user; | |
 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment