Closed red010182 closed 10 months ago
@red010182 in my opinion, this has nothing to do with quarkus and this must error reported at vertx. In their code, there is the database version being parsed. https://github.com/eclipse-vertx/vertx-sql-client/blob/68eb6520dd0a126aebaf518321ade7f8b01d8e95/vertx-mysql-client/src/main/java/io/vertx/mysqlclient/impl/MySQLDatabaseMetadata.java#L64C7-L64C57 when running your dockerfile, the version in the database is: 11.1.2-MariaDB-1:11.1.2+maria~ubu2204 , this part of the version: 2-MariaDB-1:11 is put into an Integer.parseInt function. Will give a warning offcourse. IMHO, vertx needs to solve this.
Is solved in vertx mysql connector 4.4.6, will provide PR
@appiepollo14 main is already using 4.4.6
@gsmet you were just a few seconds earlier than my to find this out!
@red010182 does upgrading to Quarkus solve the issue? Can this issue be closed?
/cc @tsegismont (reactive-sql-clients), @vietj (reactive-sql-clients)
This has been fixed upstream in Vert.x 4.4.5 https://github.com/eclipse-vertx/vertx-sql-client/pull/1345
@red010182 as a workaround, you can try to change the vertx-mysql-client
version in your project to 4.4.5
But I would recommend to upgrade to Quarkus 3.2.8-Final instead, which ships Vert.x 4.4.6.
@cescoffier I believe this issue can be closed.
Describe the bug
Accessing mariadb datasource with
MySQLPool
shows warning: parse database version error. (However, it has no problem when connecting to mysql datasource)Expected behavior
access datasource without error or warning.
Actual behavior
How to Reproduce?
github repo
Output of
uname -a
orver
No response
Output of
java -version
GraalVM version (if different from Java)
No response
Quarkus version or git rev
3.2.6.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Additional information
Docker compose file for mariadb (v11):