diff options
-rw-r--r-- | pom.xml | 4 | ||||
-rw-r--r-- | src/main/resources/application-localhost.properties | 4 |
2 files changed, 2 insertions, 6 deletions
@@ -146,10 +146,6 @@ <!-- mysql --> <dependency> - <groupId>mysql</groupId> - <artifactId>mysql-connector-java</artifactId> - </dependency> - <dependency> <groupId>org.mariadb.jdbc</groupId> <artifactId>mariadb-java-client</artifactId> <version>1.1.7</version> diff --git a/src/main/resources/application-localhost.properties b/src/main/resources/application-localhost.properties index 8470a93..bc4d56d 100644 --- a/src/main/resources/application-localhost.properties +++ b/src/main/resources/application-localhost.properties @@ -49,8 +49,8 @@ spring.data.mongodb.database=ServiceOrderDB # MYSQL spring.datasource.testWhileIdle=true spring.datasource.validationQuery=SELECT 1 -spring.datasource.driver-class-name=com.mysql.jdbc.Driver -spring.datasource.url=jdbc:mysql://localhost:3306/nbi +spring.datasource.driver-class-name=org.mariadb.jdbc.Driver +spring.datasource.url=jdbc:mariadb://localhost:3306/nbi spring.jpa.show-sql=false spring.datasource.username=root spring.datasource.password=toto |