Guest User

Untitled

a guest
Sep 3rd, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. public static String userName = "root";
  2. public static String password = "1234";
  3. public static String Url = "jdbc:mysql://localhost:3306/tablename?
  4. verifyServerCertificate=false&useSSL=false&serverTimezone=UTC";
  5. Connection connection = DriverManager.getConnection(Url,userName,password);
Add Comment
Please, Sign In to add comment