Advertisement
Guest User

Untitled

a guest
Aug 7th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1.     public void Connection() throws SQLException {
  2.         String path = "jdbc:mysql://localhost/allcustomers";
  3.         String user = "root";
  4.         String pass = "";
  5.         c = DriverManager.getConnection(path, user, pass);
  6.         stmt = c.createStatement();
  7.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement