From 25188514ac3296a4876129f9182b16cce01affaf Mon Sep 17 00:00:00 2001 From: OathK1per Date: Sun, 29 Oct 2023 12:05:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9MySQL=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-dev.properties | 4 ++-- src/main/resources/application.properties | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties index af259f3..1711eed 100644 --- a/src/main/resources/application-dev.properties +++ b/src/main/resources/application-dev.properties @@ -1,5 +1,5 @@ -spring.datasource.url=jdbc:mysql://192.168.1.100:3306/fourcal?\ -characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2b8&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true +spring.datasource.url=jdbc:mysql://117.172.29.81:3306/fourcal?\ +characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2b8&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true&useSSL=false spring.datasource.username=root spring.datasource.password=Qwer123!@#$ diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 36754dd..e07c092 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -3,7 +3,7 @@ server.port=8282 server.session.timeout=-1 server.context-path=/fourcal app.version=0.0.1 -spring.profiles.active=sit +spring.profiles.active=dev spring.datasource.type=com.alibaba.druid.pool.DruidDataSource spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver