Skip to content

Commit

Permalink
fix: jdbc port property misconfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
DirtyConcept committed Aug 4, 2024
1 parent 644505f commit 5391f89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ private void setupHikari() {

Properties properties = new Properties();
properties.setProperty("serverName", host);
properties.setProperty("port", port + "");
properties.setProperty("portNumber", port + "");
properties.setProperty("databaseName", database);
properties.setProperty("user", username);
if (password.length() > 0) {
if (!password.isEmpty()) {
properties.setProperty("password", password);
}
hikari.setDataSourceProperties(properties);
Expand Down

0 comments on commit 5391f89

Please sign in to comment.