Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static String userName = "root";
- public static String password = "1234";
- public static String Url = "jdbc:mysql://localhost:3306/tablename?
- verifyServerCertificate=false&useSSL=false&serverTimezone=UTC";
- Connection connection = DriverManager.getConnection(Url,userName,password);
Add Comment
Please, Sign In to add comment