diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index f9306b6..2c272f6 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -1,6 +1,6 @@ -spring.datasource.url=jdbc:mysql://172.34.31.145:3306/fourcal?\ +spring.datasource.url=jdbc:mysql://127.0.0.1:3306/fourcal?\ characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2b8&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true -spring.datasource.username=fourcal +spring.datasource.username=root spring.datasource.password=Qwer123!@#$ spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 43968f3..b5a974b 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -3,7 +3,7 @@ server.port=8282 server.session.timeout=7200 server.context-path=/fourcal app.version=0.0.1 -spring.profiles.active=sit +spring.profiles.active=prod spring.datasource.type=com.alibaba.druid.pool.DruidDataSource spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver