Repository navigation
Commit 7b2fbd8
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 31253d3 commit 7b2fbd8
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 | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
144 | 148 | | |
145 | 149 | | |
146 | 150 | | |
| |||
| 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