fix psotgresql init failed due to not exist same name db with user by zhoney · Pull Request #1293 · apache/hugegraph

@zhoney

Change-Id: I955fb0a474904470355b92dbc9bf3aa08ea4f61e
fixed: #1285

@zhoney

Change-Id: I955fb0a474904470355b92dbc9bf3aa08ea4f61e
fixed: #1285

@codecov

javeme

#jdbc.url=jdbc:postgresql://localhost:5432/
#jdbc.username=postgres
#jdbc.password=
#postgresql.connect_database=template1

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);
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move to mysql

@zhoney

Change-Id: I6bbb41944699b388ac78e6ad21ee9a51dc8036f7

javeme

Linary