From 9ad79bc12001cf6f47864b7389e49c7462955b40 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Thu, 9 Jun 2016 02:33:19 +0800 Subject: Talk about database privileges --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'README.md') 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) -- cgit v1.2.3