maven
3 天以前 51310fdfed6d9744a95ae1a58f03b0edbfb0bba5
src/main/resources/application-demo.yml
@@ -62,7 +62,7 @@
    druid:
      # 主库数据源
      master:
        url: jdbc:mysql://114.132.189.42:9004/product-inventory-management-demo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        url: jdbc:mysql://192.168.1.185:3306/product-inventory-management-demo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
        password: 123456
      # 从库数据源
@@ -134,15 +134,15 @@
  # redis 配置
  redis:
    # 地址
    host: 127.0.0.1
#    host: 172.17.0.1
#    host: 127.0.0.1
    host: 172.17.0.1
    # 端口,默认为6379
    port: 6379
    # 数据库索引
    database: 0
    # 密码
    password: root2022!
#    password:
#    password: root2022!
    password:
    # 连接超时时间
    timeout: 10s