[CONJ-750] protocol error when not setting database, indicating null authentication plugin Created: 2019-12-13 Updated: 2020-12-10 Resolved: 2019-12-16 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | authentication |
| Affects Version/s: | None |
| Fix Version/s: | 1.7.6, 2.5.3 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
When no database is set in the connection string, the driver will add a null byte in the authentication response packet. The server will decode that additional null byte as an empty plugin value, doing an unnecessary authentication switch request step. In combination with maxscale, this cause connection to fail. |
| Comments |
| Comment by Diego Dupin [ 2019-12-16 ] |