Skip to content

Commit

Permalink
SUBMARINE-1128. Fix Submarine server can not connect to database url …
Browse files Browse the repository at this point in the history
…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 <cdmikechen@hotmail.com>

Signed-off-by: Kevin <pingsutw@apache.org>

Closes #826 from cdmikechen/SUBMARINE-1128 and squashes the following commits:

7f4215a [cdmikechen] SUBMARINE-1128. Fix Submarine server can not connect to database url error
  • Loading branch information
cdmikechen authored and pingsutw committed Dec 10, 2021
1 parent accdf4a commit b84f772
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public enum ConfVars {

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" +
Expand Down

0 comments on commit b84f772

Please sign in to comment.