数据库配置

This commit is contained in:
Cool 2024-05-09 19:02:47 +08:00
parent ba1bb76c8d
commit 1044ae97ad
1 changed files with 2 additions and 2 deletions

View File

@ -158,9 +158,9 @@ spring:
slow-sql-millis: 5000
datasource:
master:
url: jdbc:mysql://127.0.0.1:3306/jeecg-boot2?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
url: jdbc:mysql://82.157.76.162:3306/jeecg-boot3?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
password: 123456
password: wB4TL7Mp
driver-class-name: com.mysql.cj.jdbc.Driver
# 多数据源配置
#multi-datasource1: