mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-24 16:15: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:
@@ -61,6 +61,11 @@ public final class SQLDatabaseManager implements DatabaseManager {
|
||||
connectionString+=
|
||||
"?useSSL=false";
|
||||
|
||||
if(mcMMO.p.getGeneralConfig().getMySQLPublicKeyRetrieval()) {
|
||||
connectionString+=
|
||||
"&allowPublicKeyRetrieval=true";
|
||||
}
|
||||
|
||||
try {
|
||||
// Force driver to load if not yet loaded
|
||||
Class.forName(driverPath);
|
||||
|
Reference in New Issue
Block a user