try{ Class.forName("com.mysql.jdbc.Driver"); String url ="jdbc:mysql://localhost:3306/clas"; System.out.println("step1 "); Connection con = DriverManager.getConnection(url,"root", "aaaa"); System.out.println("step2"); Statement st=con.createStatement(); }catch(Exception e) { System.out.println("Error "+e); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)