Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void createConnection() {
- try {
- Class.forName("com.mysql.jdbc.Driver").newInstance();
- connection = DriverManager.getConnection("jdbc:mysql://mysql8.000webhost.com/a9913315_phpbb", "a9913315_james", "lolidk");
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement