Advertisement
Guest User

Untitled

a guest
Aug 5th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. /**
  2. * Creates a Connection to the MySQL Database
  3. */
  4. public synchronized static void createConnection() {
  5. try {
  6. Class.forName("com.mysql.jdbc.Driver").newInstance();
  7. conn = DriverManager.getConnection("jdbc:mysql://clientescape.com/cliente1_Status", "cliente1_admin", "klz0t7bx");
  8. Misc.println("MySQL Connected");
  9. }
  10. catch(Exception e) {
  11. e.printStackTrace();
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement