-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix psotgresql init failed due to not exist same name db with user #1293
Conversation
Change-Id: I955fb0a474904470355b92dbc9bf3aa08ea4f61e fixed: #1285
Codecov Report
@@ Coverage Diff @@
## master #1293 +/- ##
============================================
+ Coverage 62.09% 62.10% +0.01%
- Complexity 5767 5773 +6
============================================
Files 377 377
Lines 31493 31498 +5
Branches 4413 4413
============================================
+ Hits 19556 19563 +7
Misses 9946 9946
+ Partials 1991 1989 -2
Continue to review full report at Codecov.
|
@@ -77,6 +77,7 @@ cassandra.password= | |||
#jdbc.url=jdbc:postgresql://localhost:5432/ | |||
#jdbc.username=postgres | |||
#jdbc.password= | |||
#postgresql.connect_database=template1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prefer jdbc.connect_database
@Override | ||
protected String connectDatabase() { | ||
return this.config().get(PostgresqlOptions.POSTGRESQL_CONNECT_DATABASE); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to mysql
Change-Id: I955fb0a474904470355b92dbc9bf3aa08ea4f61e
fixed: #1285