public void executeQuery (String query) {
        try {
            Statement statement = conn.createStatement();
            statement.execute(query);
            statement.close();
        } catch (SQLException e) {
            System.err.println("MySQL Error: " + e.toString());
        }
    }