zqy
2024-07-16 9a4b09e6a32b4510e1e9c4fb13d6cb90b896abe4
ruoyi-admin/src/main/resources/application-druid.yml
@@ -6,9 +6,11 @@
        druid:
            # 主库数据源
            master:
                url: jdbc:mysql://localhost:3306/ruoyi?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
                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: 123456
                password: ZhangApp123!
#                password: 123456
            # 从库数据源
            slave:
                # 从数据源开关/默认关闭