Skip to content

Commit

Permalink
change mysql driver class to 'com.mysql.cj.jdbc.Driver' as 'com.mysql…
Browse files Browse the repository at this point in the history
….jdbc.Driver' is deprecated
  • Loading branch information
nobodyiam committed Jul 5, 2020
1 parent 085d2ad commit 6b6eb18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apollo-common/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ spring.http.converters.preferred-json-mapper=gson

# DataSource
spring.datasource.hikari.connectionInitSql=set names utf8mb4
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

# Naming strategy
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
Expand Down

0 comments on commit 6b6eb18

Please sign in to comment.