Class.forName("com.mysql.jdbc.Driver");
Connection con =DriverManager.getConnection("jdbc:mysql://localhost:3306/DBNAme","Username","Password");
Connection con =DriverManager.getConnection("jdbc:mysql://localhost:3306/DBNAme","Username","Password");
its useful to me
ReplyDelete