mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-02 12:35:27 +02:00
Added support for allowPublicKeyRetrieval=true in the JDBC launch (#4635)
options for MySQL Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
This commit is contained in:
@@ -251,6 +251,7 @@ public class GeneralConfig extends AutoUpdateConfigLoader {
|
||||
public int getMySQLMaxPoolSize(PoolIdentifier identifier) { return config.getInt("MySQL.Database.MaxPoolSize." + StringUtils.getCapitalized(identifier.toString()), 10); }
|
||||
public boolean getMySQLSSL() { return config.getBoolean("MySQL.Server.SSL", true); }
|
||||
public boolean getMySQLDebug() { return config.getBoolean("MySQL.Debug", false); }
|
||||
public boolean getMySQLPublicKeyRetrieval() { return config.getBoolean("MySQL.Server.allowPublicKeyRetrieval", true); }
|
||||
|
||||
private String getStringIncludingInts(String key) {
|
||||
String str = config.getString(key);
|
||||
|
Reference in New Issue
Block a user