Skip to content

Commit

Permalink
Fix legacy connection method.
Browse files Browse the repository at this point in the history
  • Loading branch information
pvannierop committed Mar 30, 2023
1 parent ad86c2a commit 4627aff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public JdbcDataSource () {
Assert.hasText(database, errorMessage("database", "db.database") +
" Or preferably, set the 'db.connection_string' and remove 'db.host', 'db.database' and 'db.use_ssl (best practice).");
connectionURL = String.format(
"jdbc:mysql://%s/%s&zeroDateTimeBehavior=convertToNull&useSSL=%s",
"jdbc:mysql://%s/%s?zeroDateTimeBehavior=convertToNull&useSSL=%s",
host, database, useSSL
);
}
Expand Down

0 comments on commit 4627aff

Please sign in to comment.