Repository navigation
Commit 632d69e
authored
MySQL treats Unix domain socket connections as secure, expecting clear-text password exchange during full authentication.
The client only checked `isSsl()` in `AuthenticationMySQLCommandBase`, falling back to RSA key exchange which MySQL 8.4.13+ no longer accepts over secure connections (Bug #39883040).
Added `isUsingDomainSocket()` to `MySQLSocketConnection` to check the actual socket transport, so clear-text passwords are sent over domain sockets, consistent with SSL connections.
(cherry picked from commit 58117cc)
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
1 parent 752b0fa commit 632d69e
2 files changed
Lines changed: 5 additions & 1 deletion
File tree
- vertx-mysql-client/src/main/java/io/vertx/mysqlclient/impl
- codec
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments