Skip to content

Commit 69ad2a4

Browse files
authored
config(db): change jdbc driver to mariadb (#2314)
2 parents 18f6582 + 4027c3b commit 69ad2a4

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

pom-dependency-tree.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ai.elimu:webapp:war:2.6.109-SNAPSHOT
1+
ai.elimu:webapp:war:2.6.110-SNAPSHOT
22
+- ai.elimu:model:jar:model-2.0.118:compile
33
| \- com.google.code.gson:gson:jar:2.13.1:compile
44
| \- com.google.errorprone:error_prone_annotations:jar:2.38.0:compile
@@ -101,8 +101,7 @@ ai.elimu:webapp:war:2.6.109-SNAPSHOT
101101
| \- jakarta.validation:jakarta.validation-api:jar:3.0.0:compile
102102
+- jakarta.persistence:jakarta.persistence-api:jar:3.0.0:compile
103103
+- org.hsqldb:hsqldb:jar:2.7.4:compile
104-
+- com.mysql:mysql-connector-j:jar:8.2.0:compile
105-
| \- com.google.protobuf:protobuf-java:jar:3.21.9:compile
104+
+- org.mariadb.jdbc:mariadb-java-client:jar:2.7.12:compile
106105
+- commons-dbcp:commons-dbcp:jar:1.4:compile
107106
| \- commons-pool:commons-pool:jar:1.5.4:compile
108107
+- jakarta.servlet:jakarta.servlet-api:jar:5.0.0:provided

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,9 +473,9 @@
473473
<version>2.7.4</version>
474474
</dependency>
475475
<dependency>
476-
<groupId>com.mysql</groupId>
477-
<artifactId>mysql-connector-j</artifactId>
478-
<version>8.2.0</version>
476+
<groupId>org.mariadb.jdbc</groupId>
477+
<artifactId>mariadb-java-client</artifactId>
478+
<version>2.7.12</version>
479479
</dependency>
480480
<dependency>
481481
<groupId>commons-dbcp</groupId>

src/main/resources/jdbc_PROD.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jpa.generateDdl=false
55
jpa.showSql=false
66

77
# JDBC Settings (The url, username and password are fetched from the Jetty context file.)
8-
jdbc.driverClassName=com.mysql.cj.jdbc.Driver
8+
jdbc.driverClassName=org.mariadb.jdbc.Driver
99
jdbc.url=
1010
jdbc.username=
1111
jdbc.password=

0 commit comments

Comments
 (0)