Last active
August 29, 2015 14:26
-
-
Save bunnywong/9b9d85039e00810455f5 to your computer and use it in GitHub Desktop.
MySQL Color & Permission
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
Installed color MySQL | |
https://github.com/nitso/colour-mysql-console | |
Access from host | |
> ip add | |
mysql> mysql -u root; | |
mysql> grant all on prefix.* to [email protected]; | |
mysql> flush privileges; | |
Check status | |
mysql> mysql -u root; | |
mysql> use mysql; | |
mysql> select user, host from user; | |
Ref: | |
https://dev.mysql.com/doc/refman/5.1/en/grant.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment