diff --git a/zipkin-server/server-starter/pom.xml b/zipkin-server/server-starter/pom.xml index b5471748397..f106b88e663 100644 --- a/zipkin-server/server-starter/pom.xml +++ b/zipkin-server/server-starter/pom.xml @@ -132,9 +132,9 @@ - com.mysql - mysql-connector-j - 8.0.33 + org.mariadb.jdbc + mariadb-java-client + ${mariadb-java-client.version} diff --git a/zipkin-server/server-starter/src/main/resources/application.yml b/zipkin-server/server-starter/src/main/resources/application.yml index 10b6fc569ff..3ccc985e91e 100644 --- a/zipkin-server/server-starter/src/main/resources/application.yml +++ b/zipkin-server/server-starter/src/main/resources/application.yml @@ -110,6 +110,7 @@ storage: &storage mysql: properties: jdbcUrl: ${ZIPKIN_JDBC_URL:"jdbc:mysql://localhost:3306/swtest?rewriteBatchedStatements=true&allowMultiQueries=true"} + driverClassName: org.mariadb.jdbc.Driver dataSource.user: ${ZIPKIN_DATA_SOURCE_USER:root} dataSource.password: ${ZIPKIN_DATA_SOURCE_PASSWORD:root@1234} dataSource.cachePrepStmts: ${ZIPKIN_DATA_SOURCE_CACHE_PREP_STMTS:true}