559
whywhyo
2023-07-16 8e93f63d7eab5c4f5d193763cbb2e81ea5476923
ruoyi-admin/src/main/resources/application-druid.yml
@@ -6,9 +6,11 @@
        druid:
            # 主库数据源
            master:
#                url: jdbc:mysql://47.93.189.255:3306/ruoyi?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
                url: jdbc:mysql://localhost:3306/ruoyi?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
                username: root
                password: ZhangApp123!
#                password: 123456
            # 从库数据源
            slave:
                # 从数据源开关/默认关闭