[MXS-1958] User without SELECT privileges is not allowed to connect Created: 2018-07-04 Updated: 2020-03-13 Resolved: 2020-02-14 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Authenticator |
| Affects Version/s: | 2.2.11 |
| Fix Version/s: | 2.5.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | markus makela | Assignee: | Esa Korhonen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
If a user does not have a SELECT privilege on any database or table, authentication via MaxScale will always fail. One solution is to use the following SQL fragment in the user construction query.
The list of fields is most likely version specific. To accommodate changes in the list of fields, it needs to be constructed with the following query.
The same process must be repeated for mysql.db as well as mysql.tables_priv. |
| Comments |
| Comment by markus makela [ 2020-01-02 ] |
|
Most likely fixed by the authenticator changes in 2.5.0. |