Browse Source

修改开发环境的配置文件

gt 2 years ago
parent
commit
97e3895be4
1 changed files with 5 additions and 2 deletions
  1. 5 2
      nngkxxdp/src/main/resources/application-dev.yml

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

@@ -18,9 +18,12 @@ spring:
   datasource:
     driver-class-name: com.mysql.cj.jdbc.Driver
     #    本地
-    url: jdbc:mysql://192.168.1.226:3306/nazw?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=GMT%2B8
+#    url: jdbc:mysql://192.168.1.226:3306/nazw?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=GMT%2B8
+#    username: root
+#    password: jd123456
+    url: jdbc:mysql://192.168.0.40:3306/nazw?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=GMT%2B8
     username: root
-    password: jd123456
+    password: root
   resources:
     static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${file.path},file:${file.location}
   #  mvc: