<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-jdbc-mariadb</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-agroal</artifactId>
</dependency>
quarkus.datasource.url=jdbc:mariadb://localhost:3306/xxx
quarkus.datasource.driver=org.mariadb.jdbc.Driver
quarkus.datasource.username=root
quarkus.datasource.password=password
quarkus.datasource.min-size=3
quarkus.datasource.max-size=13
@Inject
quarkus.datasource.db1.url=jdbc:mysql://localhost:3306/xxx
quarkus.datasource.db1.driver=com.mysql.cj.jdbc.Driver
quarkus.datasource.db1.username=root
quarkus.datasource.db1.password=password
quarkus.datasource.db1.min-size=3
quarkus.datasource.db1.max-size=13
@Inject
@DataSource("db1")
AgroalDataSource dataSource;
--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/d437f426-5248-4dd6-8e55-9b9c259353cb%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CALt0%2Bo90FnxctycaHAfwSjEfy%3DQQnzOiT672_FK7vJo7-_2pYw%40mail.gmail.com.
quarkus.datasource.db1.url=jdbc:mariadb://localhost:3306/iihpiz
quarkus.datasource.db1.driver=org.mariadb.jdbc.Driver
quarkus.datasource.db1.username=root
quarkus.datasource.db1.password=password
quarkus.datasource.db1.min-size=3
quarkus.datasource.db1.max-size=13
quarkus.datasource.[optional name.][datasource property]., irrespective of the drivers, it started workingYes at best our error report is misleading and also mention thathttps://quarkus.io/guides/datasource does not mention the drivers to use. (Maybe that’s optional though).
To unsubscribe from this group and stop receiving emails from it, send an email to quark...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/d437f426-5248-4dd6-8e55-9b9c259353cb%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quark...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to quark...@googlegroups.com.