You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@amoro.apache.org by ji...@apache.org on 2024/06/12 10:58:28 UTC

(amoro) branch master updated: [AMORO-2888] Can't establish connections when rebooting ams (#2889)

This is an automated email from the ASF dual-hosted git repository.

jinsongzhou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git


The following commit(s) were added to refs/heads/master by this push:
     new 0014cd1de [AMORO-2888] Can't establish connections when rebooting ams (#2889)
0014cd1de is described below

commit 0014cd1debe2e0875d93a7209abc2df994944551
Author: tcodehuber <tc...@gmail.com>
AuthorDate: Wed Jun 12 18:58:23 2024 +0800

    [AMORO-2888] Can't establish connections when rebooting ams (#2889)
---
 amoro-ams/dist/src/main/amoro-bin/conf/config.yaml | 2 +-
 charts/amoro/values.yaml                           | 2 +-
 docs/admin-guides/deployment.md                    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/amoro-ams/dist/src/main/amoro-bin/conf/config.yaml b/amoro-ams/dist/src/main/amoro-bin/conf/config.yaml
index b2b0b6e3e..14a0996ee 100644
--- a/amoro-ams/dist/src/main/amoro-bin/conf/config.yaml
+++ b/amoro-ams/dist/src/main/amoro-bin/conf/config.yaml
@@ -96,7 +96,7 @@ ams:
 #    database:
 #      type: mysql
 #      jdbc-driver-class: com.mysql.cj.jdbc.Driver
-#      url: jdbc:mysql://127.0.0.1:3306/db?useUnicode=true&characterEncoding=UTF8&autoReconnect=true&useAffectedRows=true&useSSL=false
+#      url: jdbc:mysql://127.0.0.1:3306/db?useUnicode=true&characterEncoding=UTF8&autoReconnect=true&useAffectedRows=true&allowPublicKeyRetrieval=true&useSSL=false
 #      username: root
 #      password: root
 #      connection-pool-max-total: 20
diff --git a/charts/amoro/values.yaml b/charts/amoro/values.yaml
index d853850f9..d0641d150 100644
--- a/charts/amoro/values.yaml
+++ b/charts/amoro/values.yaml
@@ -147,7 +147,7 @@ amoroConf:
   ## e.g:
   ##    type: mysql
   ##    driver: com.mysql.cj.jdbc.Driver
-  ##    url: jdbc:mysql://127.0.0.1:3306/db?useUnicode=true&characterEncoding=UTF8&autoReconnect=true&useAffectedRows=true&useSSL=false
+  ##    url: jdbc:mysql://127.0.0.1:3306/db?useUnicode=true&characterEncoding=UTF8&autoReconnect=true&useAffectedRows=true&allowPublicKeyRetrieval=true&useSSL=false
   ##    username: admin
   ##    password: admin
 
diff --git a/docs/admin-guides/deployment.md b/docs/admin-guides/deployment.md
index fe528b05f..88d8b4e97 100644
--- a/docs/admin-guides/deployment.md
+++ b/docs/admin-guides/deployment.md
@@ -136,7 +136,7 @@ ams:
   database:
     type: mysql
     jdbc-driver-class: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://127.0.0.1:3306/amoro?useUnicode=true&characterEncoding=UTF8&autoReconnect=true&useAffectedRows=true&useSSL=false
+    url: jdbc:mysql://127.0.0.1:3306/amoro?useUnicode=true&characterEncoding=UTF8&autoReconnect=true&useAffectedRows=true&allowPublicKeyRetrieval=true&useSSL=false
     username: root
     password: root
 # PostgreSQL