ruoyi-admin/src/main/resources/application-druid.yml
@@ -6,10 +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 password: ZhangApp123! # password: 123456 # 从库数据源 slave: # 从数据源开关/默认关闭