9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2025-12-23 08:39:19 +00:00

Add mariadb protocol option type (#145)

Co-authored-by: William <will27528@gmail.com>
This commit is contained in:
Joo200
2023-07-01 14:54:30 +02:00
committed by GitHub
parent f7419f7277
commit 97ad608d56
4 changed files with 45 additions and 2 deletions

View File

@@ -130,7 +130,7 @@ public class BukkitHuskSync extends JavaPlugin implements HuskSync {
// Prepare database connection
this.database = new MySqlDatabase(this);
log(Level.INFO, "Attempting to establish connection to the database...");
log(Level.INFO, "Attempting to establish connection to the " + settings.getSqlType().getDisplayName() + " database...");
initialized.set(this.database.initialize());
if (initialized.get()) {
log(Level.INFO, "Successfully established a connection to the database");