@Override
    public Connection open() throws MalformedURLException, InstantiationException, IllegalAccessException {
        if (initialize()) {
            String url = "";
            try {
                url = "jdbc:mysql://" + this.hostname + ":" + this.portnmbr + "/" + this.database;
                this.connection = DriverManager.getConnection(url, this.username, this.password);
                return this.connection;
            } catch (SQLException e) {
                this.writeError(url, true);
                this.writeError("Could not be resolved because of an SQL Exception: " + e.getMessage() + ".", true);
            }
        }
        return this.connection;
    }