Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Creates a Connection to the MySQL Database
- */
- public synchronized static void createConnection() {
- try {
- Class.forName("com.mysql.jdbc.Driver").newInstance();
- conn = DriverManager.getConnection("jdbc:mysql://clientescape.com/cliente1_Status", "cliente1_admin", "klz0t7bx");
- Misc.println("MySQL Connected");
- }
- catch(Exception e) {
- e.printStackTrace();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement