无关风月
2024-11-14 350067a73fc9ed0a35582b900533c2708d5b1212
guns-management/src/main/resources/application-dev.yml
@@ -10,12 +10,12 @@
      enabled: true  # 启用文件上传支持
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    url: jdbc:mysql://192.168.110.64:3306/jk_fitness?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: root
#    url: jdbc:mysql://127.0.0.1:10633/jk_fitness?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
#    url: jdbc:mysql://192.168.110.64:3306/jk_fitness?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
#    username: root
#    password: '@Cjp123456'
#    password: root
    url: jdbc:mysql://127.0.0.1:10633/jk_fitness?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
    username: root
    password: '@Cjp123456'
    db-name: jk_fitness #用来搜集数据库的所有表
    filters: wall,mergeStat
@@ -51,8 +51,8 @@
redis:
  host: 127.0.0.1
  port: 6379
#  password: Cjp123456
  password: 123456
  password: Cjp123456
#  password: 123456
  database: 0
  timeout: 600000
  block-when-exhausted: true