@Nonnull
    public static DatabaseCredentials fromConfig(@Nonnull ConfigurationSection config) {
        return of(
                config.getString("address", "localhost"),
                config.getInt("port", 3306),
                config.getString("database", "minecraft"),
                config.getString("username", "root"),
                config.getString("password", "passw0rd")
        );
    }
Represents the credentials for a remote database.
helper-sql/src/main/java/me/lucko/helper/sql/DatabaseCredentials.java