Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Connection conn = DriverManager.getConnection(
- "jdbc:mysql://localhost:3306/data?useSSL=false", "root", "your_new_password"); // MySQL
- // Step 2: Allocate a 'Statement' object in the Connection
- Statement stmt = conn.createStatement();)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement