浏览代码

add mysql

GITZYY 1 月之前
父节点
当前提交
3805040a19
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      start/src/main/resources/application-pre.yaml

+ 1 - 1
start/src/main/resources/application-pre.yaml

@@ -2,7 +2,7 @@ spring:
   datasource:
     druid:
       type: com.alibaba.druid.pool.DruidDataSource
-      url: jdbc:mysql://139.129.114.159:3306/loan_online?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
+      url: jdbc:mysql://chengyirongpre.rwlb.rds.aliyuncs.com/loan_online?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
       username: loan_pre
       password: A3oDWgM4YxaHR0cDovL2NybDMu
       driver-class-name: com.mysql.jdbc.Driver