This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-17. For the latest, interactive version please visit https://mariadb.com/kb/.

Connect with JDBC to another database

Hi,

I installed MariaDB 10.5.9 on windows 10, and I succeed to connect to Mysql using JDBC. I put these two lines in my.ini

connect_jvm_path=C:\Program Files\Java\jre1.8.0_202\bin\server

connect_class_path=C:\Program Files\MariaDB 10.5\lib\plugin\JdbcInterface.jar;C:\Program Files\MariaDB 10.5\lib\plugin\mysql-connector-java-8.0.23.jar

I would like to know is it possible to connect from Mariadb with JDBC to another database for which I have JDBC driver (jar file)? For example, I have JDBC driver (jar file) for GaussDB - can I use it to connect to that DB from MariaDB?

Thanks in advance

Answer Answered by Anel Husakovic in this comment.

I think you should take a look at CONNECT storage engine.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.