refactor(sa-base): 修改数据库密码配置

- 在 dev、pre、prod 和 test 环境的 sa-base.yaml 文件中
- 将 master 和 slave 数据源的密码从 'root' 修改为 'SmartAdmin666'
This commit is contained in:
钟家兴 2025-05-02 01:57:48 +08:00
parent ab75dd3b39
commit bbe551f10d
4 changed files with 8 additions and 8 deletions

View File

@ -8,13 +8,13 @@ spring:
master:
url: jdbc:p6spy:mysql://127.0.0.1:3306/smart_admin_v3?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
username: root
password: root
password: SmartAdmin666
# 从数据源
slave:
enabled: false
url: jdbc:p6spy:mysql://127.0.0.1:3306/smart_admin_v3_slave?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
username: root
password: root
password: SmartAdmin666
# 连接池配置
initial-size: 2
min-idle: 2

View File

@ -8,13 +8,13 @@ spring:
master:
url: jdbc:p6spy:mysql://127.0.0.1:3306/smart_admin_v3?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
username: root
password: root
password: SmartAdmin666
# 从数据源
slave:
enabled: false
url: jdbc:p6spy:mysql://127.0.0.1:3306/smart_admin_v3_slave?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
username: root
password: root
password: SmartAdmin666
# 连接池配置
initial-size: 2
min-idle: 2

View File

@ -8,13 +8,13 @@ spring:
master:
url: jdbc:p6spy:mysql://127.0.0.1:3306/smart_admin_v3?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
username: root
password: root
password: SmartAdmin666
# 从数据源
slave:
enabled: false
url: jdbc:p6spy:mysql://127.0.0.1:3306/smart_admin_v3_slave?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
username: root
password: root
password: SmartAdmin666
# 连接池配置
initial-size: 2
min-idle: 2

View File

@ -8,13 +8,13 @@ spring:
master:
url: jdbc:p6spy:mysql://127.0.0.1:3306/smart_admin_v3?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
username: root
password: root
password: SmartAdmin666
# 从数据源
slave:
enabled: false
url: jdbc:p6spy:mysql://127.0.0.1:3306/smart_admin_v3_slave?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
username: root
password: root
password: SmartAdmin666
# 连接池配置
initial-size: 2
min-idle: 2