Advertisement
Guest User

Untitled

a guest
Jul 31st, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. Connection conn = DriverManager.getConnection(
  2. "jdbc:mysql://localhost:3306/data?useSSL=false", "root", "your_new_password"); // MySQL
  3.  
  4. // Step 2: Allocate a 'Statement' object in the Connection
  5. Statement stmt = conn.createStatement();)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement