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