Merge commit '262f1d7e471bacca6b985ec3f2cd5cb76d6e2584' into 2.3

This commit is contained in:
Markus Mäkelä
2018-10-26 12:44:57 +03:00
5 changed files with 47 additions and 9 deletions

View File

@ -88,6 +88,9 @@ action=block
rules=/home/user/blacklist-rules.txt
```
If a query is blocked, the filter will return an error to the client with the
error number 1141 and an SQL state of HY000.
#### `log_match`
Log all queries that match a rule. For the `any` matching mode, the name of the
@ -326,6 +329,9 @@ values are:
|use |USE operations |
|load |LOAD DATA operations |
Multiple values can be combined using the pipe character `|` e.g.
` on_queries select|insert|update`.
### Applying rules to users
The `users` directive defines the users to which the rule should be applied.