[MXS-2355] MaxScale does not let mysql client 8.0.15 to connect with password Created: 2019-02-27 Updated: 2020-08-25 Resolved: 2019-03-22 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Authenticator |
| Affects Version/s: | 2.2.15, 2.3.3 |
| Fix Version/s: | 2.2.20, 2.3.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Valerii Kravchuk | Assignee: | Esa Korhonen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | MXS-SPRINT-77, MXS-SPRINT-78 |
| Description |
|
In the following simple setup with MariaDB 10.3.13 as a signle back end server:
with a user defined as follows:
MaxScale does NOT let user u1 to connect with password u1 when mysql client from version 8.0.15 is used. Check these:
Connection with mysql client from 10.3.13 works via MaxScale. Direct connection with mysql 8.0.15 client also works. Note "(using password: NO)" in the failed connection attempt. Looks like MaxScale for some reason does not pass the password while connecting to the back end. |
| Comments |
| Comment by Valerii Kravchuk [ 2019-02-27 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
It seems readconnrpoute router is also affected, so it's not router-specific:
| ||||||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2019-03-02 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
Possibly caused by the new default authentication method. Setting the --default-auth to the old plugin is likely to solve it. MaxScale should send a authentication switch request packet to the client if it asks for a plugin that is not supported by MaxScale. |