2 Commits cacd6b66a1 ... 925713c13d

Author SHA1 Message Date
  dinglan 925713c13d Merge remote-tracking branch 'origin/master' 2 years ago
  dinglan 5fb9a3c982 增加内网数据库配置 2 years ago
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/main/resources/application.yml

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

@@ -4,8 +4,11 @@ spring:
   application:
   application:
     name: mask
     name: mask
   datasource:
   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
     password: Sunwin@2020
     driver-class-name: com.mysql.cj.jdbc.Driver
     driver-class-name: com.mysql.cj.jdbc.Driver
   redis:
   redis: