mirror of
https://github.com/RemainderTime/spring-boot-base-demo.git
synced 2026-06-04 08:57:44 +08:00
引入nacos配置中心
This commit is contained in:
@@ -15,7 +15,7 @@ spring:
|
||||
password: ${MYSQL_PWD}
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
slave:
|
||||
url: jdbc:mysql://120.48.109.209:3306/xf-boot-base?useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=Asia/Shanghai
|
||||
url: jdbc:mysql://${SERVER_ADDRESS}:3306/xf-boot-base?useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=Asia/Shanghai
|
||||
username: ${MYSQL_NAME}
|
||||
password: ${MYSQL_PWD}
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
|
||||
Reference in New Issue
Block a user