|
@@ -20,7 +20,7 @@ spring.servlet.multipart.max-file-size=100MB
|
|
|
|
|
|
# mysql
|
|
# mysql
|
|
spring.datasource.dynamic.datasource.master.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
spring.datasource.dynamic.datasource.master.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
-spring.datasource.dynamic.datasource.master.url=jdbc:mysql://localhost:3306/hnzy?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&useInformationSchema=true&rewriteBatchedStatements=true
|
|
|
|
|
|
+spring.datasource.dynamic.datasource.master.url=jdbc:mysql://192.168.25.72:3306/hnzy?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&useInformationSchema=true&rewriteBatchedStatements=true
|
|
spring.datasource.dynamic.datasource.master.username=hnzy
|
|
spring.datasource.dynamic.datasource.master.username=hnzy
|
|
spring.datasource.dynamic.datasource.master.password=MRXPibTNd6FNLRSp
|
|
spring.datasource.dynamic.datasource.master.password=MRXPibTNd6FNLRSp
|
|
spring.datasource.dynamic.strict=true
|
|
spring.datasource.dynamic.strict=true
|
|
@@ -93,7 +93,7 @@ spring.jackson.serialization.write-dates-as-timestamps=false
|
|
# redis configuration
|
|
# redis configuration
|
|
#########################################
|
|
#########################################
|
|
spring.data.redis.database=1
|
|
spring.data.redis.database=1
|
|
-spring.data.redis.host=127.0.0.1
|
|
|
|
|
|
+spring.data.redis.host=192.168.25.72
|
|
spring.data.redis.port=6379
|
|
spring.data.redis.port=6379
|
|
spring.data.redis.password=4008809192
|
|
spring.data.redis.password=4008809192
|
|
spring.data.redis.timeout=10s
|
|
spring.data.redis.timeout=10s
|