From 7fea2a9be289a86520b7ff19cad93271a6eca904 Mon Sep 17 00:00:00 2001 From: infin_caishuxiao Date: Fri, 23 Feb 2018 14:25:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E8=B6=85=E6=97=B6=E7=9A=84?= =?UTF-8?q?=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xxl-job-executor-samples/xxl-job-executor-db/src/main/resources/application.properties b/xxl-job-executor-samples/xxl-job-executor-db/src/main/resources/application.properties index 55025ee1..e477c3a0 100644 --- a/xxl-job-executor-samples/xxl-job-executor-db/src/main/resources/application.properties +++ b/xxl-job-executor-samples/xxl-job-executor-db/src/main/resources/application.properties @@ -1,9 +1,9 @@ -spring.datasource.prd.url=jdbc:mysql://172.16.16.98:3306/microfinance?useUnicode=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false +spring.datasource.prd.url=jdbc:mysql://172.16.16.98:3306/microfinance?autoReconnect=true&useUnicode=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false spring.datasource.prd.username=jobopr spring.datasource.prd.password=jobopr666 spring.datasource.prd.driver-class-name=com.mysql.jdbc.Driver -spring.datasource.stats.url=jdbc:mysql://172.16.16.99:3306/microfinance1?useUnicode=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false +spring.datasource.stats.url=jdbc:mysql://172.16.16.99:3306/microfinance1?autoReconnect=true&useUnicode=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false spring.datasource.stats.username=jobopr spring.datasource.stats.password=jobopr666 spring.datasource.stats.driver-class-name=com.mysql.jdbc.Driver