Extend MDEV-13453 workaround explanations
The example SQL now shows the extra grant required for 10.2 versions. Also removed duplicate user creation examples from the tutorials.
This commit is contained in:
@ -907,15 +907,18 @@ GRANT SELECT ON mysql.db TO 'maxscale'@'maxscalehost';
|
||||
GRANT SELECT ON mysql.tables_priv TO 'maxscale'@'maxscalehost';
|
||||
GRANT SELECT ON mysql.roles_mapping TO 'maxscale'@'maxscalehost';
|
||||
GRANT SHOW DATABASES ON *.* TO 'maxscale'@'maxscalehost';
|
||||
|
||||
-- MariaDB from 10.2.2 to 10.2.10 requires extra grants
|
||||
GRANT SELECT ON mysql.* TO 'maxscale'@'maxscalehost';
|
||||
```
|
||||
|
||||
**Note:** MariaDB versions 10.2.10 and older require a `SELECT` grant on
|
||||
`mysql.*` in addition to the normal grants. This is to work around MDEV-13453
|
||||
which was fixed in MariaDB 10.2.11.
|
||||
|
||||
See [MaxScale Troubleshooting](https://mariadb.com/kb/en/mariadb-enterprise/maxscale-troubleshooting/)
|
||||
for more information on how to troubleshoot authentication related problems.
|
||||
|
||||
**Note:** Due to a bug in MariaDB 10.2.9, if you see a
|
||||
`SELECT command denied to user ... for table 'users'`
|
||||
error, grant `SELECT ON mysql.*` to this user.
|
||||
|
||||
<a id="passwd"></a>
|
||||
#### `password`
|
||||
|
||||
|
Reference in New Issue
Block a user