Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.34 KB | None | 0 0
  1. String s = "jdbc:mysql://" + Constants.dbHost + "/" +
  2.                             Constants.dbName + "?user=" + Constants.dbUser + "&password=" + Constants.dbPassword;
  3.                 System.out.println(s);
  4.                 Connection connection = DriverManager.getConnection(s);
  5.                 statements[i] = connection.createStatement();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement