aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2016-06-09 02:33:19 +0800
committerIgor Pashev <pashev.igor@gmail.com>2016-06-09 02:35:35 +0800
commit9ad79bc12001cf6f47864b7389e49c7462955b40 (patch)
tree6a80916cfc5428c8ae6ab40fff3eba011be4e693
parent45db4150e04087bbea220f9a8ee5f718241ce3a2 (diff)
downloadjuandelacosa-9ad79bc12001cf6f47864b7389e49c7462955b40.tar.gz
Talk about database privileges
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1c1974b..6610c8c 100644
--- a/README.md
+++ b/README.md
@@ -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
===========
![Reset Password](./screenshots/resetpassword.png)