public void connectDb() {
        startSQL();
        try {
            Class.forName("com.mysql.jdbc.Driver").newInstance();
            con = DriverManager.getConnection(url, user, password);

            st = con.createStatement();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }