diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2016-06-09 02:33:19 +0800 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2016-06-09 02:35:35 +0800 |
commit | 9ad79bc12001cf6f47864b7389e49c7462955b40 (patch) | |
tree | 6a80916cfc5428c8ae6ab40fff3eba011be4e693 | |
parent | 45db4150e04087bbea220f9a8ee5f718241ce3a2 (diff) | |
download | juandelacosa-9ad79bc12001cf6f47864b7389e49c7462955b40.tar.gz |
Talk about database privileges
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -40,6 +40,16 @@ Type `juandelacosa --help` to see usage summary: -h, --help Show this message +Database Privileges +=================== + +```sql +CREATE USER IF NOT EXISTS 'juandelacosa'@'localhost' IDENTIFIED VIA unix_socket; +REVOKE ALL, GRANT OPTION FROM 'juandelacosa'@'localhost'; +GRANT UPDATE ON `mysql`.* TO 'juandelacosa'@'localhost'; +GRANT SELECT ON `mysql`.`user` TO 'juandelacosa'@'localhost'; +``` + Screenshots ===========  |