Java Database Connectivity: Difference between revisions

Content deleted Content added
mNo edit summary
mNo edit summary
Line 241:
Class.forName("com.mysql.jdbc.Driver");
 
Connection conn = DriverManager.getConnection(URL, "root”root", "root");
Statement stmt = conn.createStatement();