Skip to content

Commit

Permalink
<:reime:929216750300590100> moment
Browse files Browse the repository at this point in the history
  • Loading branch information
DoggySazHi committed Feb 20, 2024
1 parent 768195b commit 88b37a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ private void initializeMySQL() {
}
connection.close();

dataSource.setUrl("jdbc:mysql://" + host + ":" + port + "/" + database);
dataSource.setUrl("jdbc:mysql://" + host + ":" + port + "/" + database + "?useUnicode=true&characterEncoding=utf-8");
dataSource.setUsername(username);
dataSource.setPassword(password);
dataSource.setMinIdle(5);
Expand Down

0 comments on commit 88b37a6

Please sign in to comment.