Skip to content

Make SslMode.PREFERRED the default for MySQL Client#1615

Merged
tsegismont merged 1 commit intoeclipse-vertx:masterfrom
tsegismont:issue/1539
Feb 5, 2026
Merged

Make SslMode.PREFERRED the default for MySQL Client#1615
tsegismont merged 1 commit intoeclipse-vertx:masterfrom
tsegismont:issue/1539

Conversation

@tsegismont
Copy link
Member

Resolves #1539

This matches the behavior of MySQL Connector/J.

If the server supports encryption and reports that capability in the initial message, the connection should be upgraded to a secured connection.

Resolves eclipse-vertx#1539

This matches the behavior of MySQL Connector/J.

If the server supports encryption and reports that capability in the initial message, the connection should be upgraded to a secured connection.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
@tsegismont tsegismont added this to the 5.1.0 milestone Feb 4, 2026
@tsegismont
Copy link
Member Author

When this is merged, the breaking changes page must be updated. It's not a breaking change codewise, but it is from a config point of view.

@tsegismont tsegismont merged commit 9989e6d into eclipse-vertx:master Feb 5, 2026
18 checks passed
@tsegismont tsegismont deleted the issue/1539 branch February 5, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MySQL: establish secured connection if server supports it

1 participant