Connector/R2DBC 1.1.4 Release Notes
Connector/R2DBC 1.1.4 is a Stable (GA) release of MariaDB Connector/R2DBC, released on 2023-03-27
Overview
Notable Changes
try {
// Configure the Connection
MariadbConnectionConfiguration conf = MariadbConnectionConfiguration.builder()
.host("192.0.2.1")
.port(8880) // tunnel port
.username("db_user")
.password("db_user_password")
.database("test")
.sslMode(SslMode.TUNNEL)
.sslContextBuilderCustomizer(
sslContextBuilder -> sslContextBuilder
.protocols("TLSv1.3")
.keyManager(new File("/path/to/client/cert"), new File("/path/to/client/key")))
.sslTunnelDisableHostVerification(true)
.build();
// Instantiate a Connection Factory
MariadbConnectionFactory connFactory = new MariadbConnectionFactory(conf);
MariadbConnection connection = connFactory.create().block();
connection.close().block();
} catch (java.lang.IllegalArgumentException e) {
System.err.println("Issue encountered while getting connection");
e.printStackTrace();
}Issues Fixed
Resources
Last updated
Was this helpful?

