mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-12 19:30:50 +01:00
Fixes UTF8 database connection issue.
https://github.com/BentoBoxWorld/BentoBox/issues/582 Adjusts JDBC connection string to specifically use unicode and UTF8.
This commit is contained in:
parent
bbeefc20ac
commit
98e0da6af2
@ -22,7 +22,7 @@ public class MySQLDatabaseConnector implements DatabaseConnector {
|
||||
MySQLDatabaseConnector(DatabaseConnectionSettingsImpl dbSettings) {
|
||||
this.dbSettings = dbSettings;
|
||||
connectionUrl = "jdbc:mysql://" + dbSettings.getHost() + ":" + dbSettings.getPort() + "/" + dbSettings.getDatabaseName()
|
||||
+ "?autoReconnect=true&useSSL=false&allowMultiQueries=true";
|
||||
+ "?autoReconnect=true&useSSL=false&allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user