You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by pi...@apache.org on 2021/12/10 09:29:35 UTC
[submarine] branch master updated: SUBMARINE-1128. Fix Submarine server can not connect to database url error
This is an automated email from the ASF dual-hosted git repository.
pingsutw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git
The following commit(s) were added to refs/heads/master by this push:
new b84f772 SUBMARINE-1128. Fix Submarine server can not connect to database url error
b84f772 is described below
commit b84f772b514a45bb3e079bf6e9a84ed927e73a0a
Author: cdmikechen <cd...@hotmail.com>
AuthorDate: Fri Dec 10 16:03:21 2021 +0800
SUBMARINE-1128. Fix Submarine server can not connect to database url error
### What is this PR for?
Current default database url has a syntax error in the JDBC link of MySQL.
### What type of PR is it?
Bug Fix
### Todos
* [ x ] - Fix & symbol position
### What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-1128
### How should this be tested?
can test default link by local env
### Screenshots (if appropriate)
no
### Questions:
* Do the license files need updating? No
* Are there breaking changes for older versions? No
* Does this need new documentation? No
Author: cdmikechen <cd...@hotmail.com>
Signed-off-by: Kevin <pi...@apache.org>
Closes #826 from cdmikechen/SUBMARINE-1128 and squashes the following commits:
7f4215a2 [cdmikechen] SUBMARINE-1128. Fix Submarine server can not connect to database url error
---
.../java/org/apache/submarine/commons/utils/SubmarineConfVars.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/submarine-commons/commons-utils/src/main/java/org/apache/submarine/commons/utils/SubmarineConfVars.java b/submarine-commons/commons-utils/src/main/java/org/apache/submarine/commons/utils/SubmarineConfVars.java
index 38945c9..03862b4 100644
--- a/submarine-commons/commons-utils/src/main/java/org/apache/submarine/commons/utils/SubmarineConfVars.java
+++ b/submarine-commons/commons-utils/src/main/java/org/apache/submarine/commons/utils/SubmarineConfVars.java
@@ -53,8 +53,8 @@ public class SubmarineConfVars {
JDBC_DRIVERCLASSNAME("jdbc.driverClassName", "com.mysql.jdbc.Driver"),
JDBC_URL("jdbc.url", "jdbc:mysql://127.0.0.1:3306/submarine" +
- "?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&allowMultiQueries=true" +
- "failOverReadOnly=false&zeroDateTimeBehavior=convertToNull&useSSL=false&"),
+ "?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&allowMultiQueries=true&" +
+ "failOverReadOnly=false&zeroDateTimeBehavior=convertToNull&useSSL=false"),
JDBC_USERNAME("jdbc.username", "submarine"),
JDBC_PASSWORD("jdbc.password", "password"),
METASTORE_JDBC_URL("metastore.jdbc.url", "jdbc:mysql://127.0.0.1:3306/metastore" +
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org