huodongdong 7 years ago
parent
commit
68de0277b9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      dev/product-service-dev.properties

+ 3 - 0
dev/product-service-dev.properties

@@ -1,6 +1,9 @@
 eureka.client.service-url.defaultZone=http://discovery.rankin.com:8821/eureka/
 
 spring.datasource.url=jdbc:mysql://localhost:3306/test
+spring.datasource.driverClassName=com.mysql.jdbc.Driver
 spring.datasource.username=rankin
 spring.datasource.password=abc
+
 spring.jpa.properties.hibernate.hbm2ddl.auto=create-drop
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dial