Authored by fangyeqing

Fix:fix db connection

@@ -8,6 +8,10 @@ server.port=8090 @@ -8,6 +8,10 @@ server.port=8090
8 spring.datasource.url=jdbc:mysql://db.hanhezy.com:4096/hanhe_test?useUnicode=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=round&autoReconnect=true 8 spring.datasource.url=jdbc:mysql://db.hanhezy.com:4096/hanhe_test?useUnicode=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=round&autoReconnect=true
9 spring.datasource.username=hanhe 9 spring.datasource.username=hanhe
10 spring.datasource.password=HANhetest2016 10 spring.datasource.password=HANhetest2016
  11 +spring.datasource.validation-query=SELECT 1
  12 +spring.datasource.test-on-borrow=false
  13 +spring.datasource.test-while-idle=true
  14 +spring.datasource.time-between-eviction-runs-millis=18800
11 15
12 #Redis 16 #Redis
13 spring.redis.host=127.0.0.1 17 spring.redis.host=127.0.0.1
@@ -4,6 +4,10 @@ server.port=8090 @@ -4,6 +4,10 @@ server.port=8090
4 spring.datasource.url=jdbc:mysql://localhost:3306/hanhe_test?useUnicode=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=round&autoReconnect=true 4 spring.datasource.url=jdbc:mysql://localhost:3306/hanhe_test?useUnicode=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=round&autoReconnect=true
5 spring.datasource.username=root 5 spring.datasource.username=root
6 spring.datasource.password=fyqmysql 6 spring.datasource.password=fyqmysql
  7 +spring.datasource.validation-query=SELECT 1
  8 +spring.datasource.test-on-borrow=false
  9 +spring.datasource.test-while-idle=true
  10 +spring.datasource.time-between-eviction-runs-millis=18800
7 11
8 #Redis 12 #Redis
9 spring.redis.host=127.0.0.1 13 spring.redis.host=127.0.0.1
@@ -4,6 +4,10 @@ server.port=8090 @@ -4,6 +4,10 @@ server.port=8090
4 spring.datasource.url=jdbc:mysql://db.hanhezy.com:4096/hanhe_test?useUnicode=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=round&autoReconnect=true 4 spring.datasource.url=jdbc:mysql://db.hanhezy.com:4096/hanhe_test?useUnicode=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=round&autoReconnect=true
5 spring.datasource.username=hanhe 5 spring.datasource.username=hanhe
6 spring.datasource.password=HANhetest2016 6 spring.datasource.password=HANhetest2016
  7 +spring.datasource.validation-query=SELECT 1
  8 +spring.datasource.test-on-borrow=false
  9 +spring.datasource.test-while-idle=true
  10 +spring.datasource.time-between-eviction-runs-millis=18800
7 11
8 #Redis 12 #Redis
9 #spring.redis.host=127.0.0.1 13 #spring.redis.host=127.0.0.1
@@ -8,6 +8,10 @@ server.ssl.keyStoreType = PKCS12 @@ -8,6 +8,10 @@ server.ssl.keyStoreType = PKCS12
8 spring.datasource.url=jdbc:mysql://db.hanhezy.com:4096/hanhe_test?useUnicode=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=round&autoReconnect=true 8 spring.datasource.url=jdbc:mysql://db.hanhezy.com:4096/hanhe_test?useUnicode=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=round&autoReconnect=true
9 spring.datasource.username=hanhe 9 spring.datasource.username=hanhe
10 spring.datasource.password=HANhetest2016 10 spring.datasource.password=HANhetest2016
  11 +spring.datasource.validation-query=SELECT 1
  12 +spring.datasource.test-on-borrow=false
  13 +spring.datasource.test-while-idle=true
  14 +spring.datasource.time-between-eviction-runs-millis=18800
11 15
12 #Redis 16 #Redis
13 #spring.redis.host=127.0.0.1 17 #spring.redis.host=127.0.0.1