Explorar o código

增加内网数据库配置

dinglan %!s(int64=2) %!d(string=hai) anos
pai
achega
5fb9a3c982
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  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: