Class.forName ("org.gjt.mm.mysql.Driver");
Connection con = DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/test1?user=root;password=root");
Statement stmt = con.createStatement();
Connection con = DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/test1?user=root;password=root");
Statement stmt = con.createStatement();
sqlCon= java.sql.DriverManager.getConnection("jdbc:mysql://localhost/test","root","");