cloud-sql-jdbc-socket-factory icon indicating copy to clipboard operation
cloud-sql-jdbc-socket-factory copied to clipboard

Support MariaDB R2DBC driver

Open elefeint opened this issue 3 years ago • 3 comments

Right now, only the MySQL driver is supported in socket factory. Unfortunately, the driver is no longer maintained, and Spring recommendation is to use the MariaDB driver. They should be protocol-compatible.

This will require adding a new ConnectionFactoryProvider similar to the existing GcpConnectionFactoryProviderMysql.

elefeint avatar Sep 16 '22 21:09 elefeint

@JoeWang1127 Could you take a look at implementing the MariaDB R2DBC support in this repo? @mpeddada1 implemented the original MySQL/CloudSQL autoconfiguration in Spring Cloud GCP that's based on the R2DBC connection factories in this repo.

elefeint avatar Sep 19 '22 16:09 elefeint

Sure, will do

JoeWang1127 avatar Sep 19 '22 18:09 JoeWang1127

This is blocked on adding the SSL tunneling capability into the MariaDB driver.

elefeint avatar Sep 27 '22 14:09 elefeint

Following up on this since the SSL Tunnel mode patch has landed. Do we plan to finish this implementation soon?

shubha-rajan avatar Jan 25 '23 22:01 shubha-rajan