Skip to content

Commit

Permalink
sql: add FLUSH PRIVILEGES hint (#835)
Browse files Browse the repository at this point in the history
* Add FLUSH PRIVILEGES hint to user-account-management.md and FAQ.md

See photoprism/photoprism#60 (comment)

* FLUSH PRIVILEGES only required if grant table was modified

* Fix wording: grant tables

* Change wording as requested

* Change link as requested

* Use backticks to format title as code

Co-Authored-By: lastzero <michael@lastzero.net>
  • Loading branch information
lastzero authored and CaitinChen committed Jan 10, 2019
1 parent 5fd8602 commit 8ee8cdb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sql/user-account-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,13 @@ Or:
```sql
ALTER USER 'jeffrey'@'localhost' IDENTIFIED BY 'mypass';
```

## `FLUSH PRIVILEGES`

If you modified the grant tables directly, run the following command to apply changes immediately:

```sql
FLUSH PRIVILEGES;
```

For details, see [Privilege Management](../sql/privilege.md).

0 comments on commit 8ee8cdb

Please sign in to comment.