Authored by zhaoyue

Merge branch 'zhaoyue-dev4' into 'master'

Mod add mysql dialect



See merge request !60
@@ -21,10 +21,12 @@ spring.datasource.validation-query=SELECT 1 @@ -21,10 +21,12 @@ spring.datasource.validation-query=SELECT 1
21 spring.datasource.test-on-borrow=false 21 spring.datasource.test-on-borrow=false
22 spring.datasource.test-while-idle=true 22 spring.datasource.test-while-idle=true
23 spring.datasource.time-between-eviction-runs-millis=18800 23 spring.datasource.time-between-eviction-runs-millis=18800
  24 +spring.jpa.database-platform=org.hibernate.dialect.MySQL5Dialect
  25 +spring.jpa.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
24 26
25 #Redis 27 #Redis
26 spring.redis.host=127.0.0.1 28 spring.redis.host=127.0.0.1
27 -spring.redis.password=foobared 29 +#spring.redis.password=foobared
28 #spring.redis.host=r-m5e7cedd3124afd4.redis.rds.aliyuncs.com 30 #spring.redis.host=r-m5e7cedd3124afd4.redis.rds.aliyuncs.com
29 #spring.redis.password=r-m5e7cedd3124afd4:XIkaiLURedis2016 31 #spring.redis.password=r-m5e7cedd3124afd4:XIkaiLURedis2016
30 32
@@ -8,6 +8,8 @@ spring.datasource.validation-query=SELECT 1 @@ -8,6 +8,8 @@ spring.datasource.validation-query=SELECT 1
8 spring.datasource.test-on-borrow=false 8 spring.datasource.test-on-borrow=false
9 spring.datasource.test-while-idle=true 9 spring.datasource.test-while-idle=true
10 spring.datasource.time-between-eviction-runs-millis=18800 10 spring.datasource.time-between-eviction-runs-millis=18800
  11 +spring.jpa.database-platform=org.hibernate.dialect.MySQL5Dialect
  12 +spring.jpa.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
11 13
12 #Redis 14 #Redis
13 spring.redis.host=127.0.0.1 15 spring.redis.host=127.0.0.1