xiongzhu пре 4 година
родитељ
комит
ef9cd76ac7
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      src/main/resources/application.yaml

+ 4 - 4
src/main/resources/application.yaml

@@ -99,7 +99,7 @@ spring:
 spring:
   profiles: prod1
   datasource:
-    url: jdbc:mysql://10.4.115.11/jmrh?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8
+    url: jdbc:mysql://10.4.115.11/jmrh?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2b8
     username: root
     password: 8mGb6*wBMs$#3Hak
 
@@ -108,14 +108,14 @@ spring:
 spring:
   profiles: prod2
   datasource:
-    url: jdbc:mysql://10.5.23.169/jmrh?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8
+    url: jdbc:mysql://10.5.23.169/jmrh?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2b8
     username: root
     password: 8mGb6*wBMs$#3Hak
 
 ---
 spring:
-  profiles: prod1
+  profiles: prod3
   datasource:
-    url: jdbc:mysql://10.5.23.173/jmrh?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8
+    url: jdbc:mysql://10.5.23.173/jmrh?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2b8
     username: root
     password: 8mGb6*wBMs$#3Hak