瀏覽代碼

增加内网数据库配置

dinglan 2 年之前
父節點
當前提交
5fb9a3c982
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      src/main/resources/application.yml

+ 5 - 2
src/main/resources/application.yml

@@ -4,8 +4,11 @@ spring:
   application:
     name: mask
   datasource:
-    url: jdbc:mysql://124.70.152.102:3306/mask?useSSL=false
-    username: sunwin
+#    url: jdbc:mysql://124.70.152.102:3306/mask?useSSL=false
+#    username: sunwin
+#    password: Sunwin@2020
+    url: jdbc:mysql://192.168.20.82:3306/mask?useUnicode=true&characterEncoding=utf-8&useSSL=false
+    username: root
     password: Sunwin@2020
     driver-class-name: com.mysql.cj.jdbc.Driver
   redis: