Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Connection conn = null;
- public void ResetAndInitializeDataStore() {
- try {
- Class.forName("com.mysql.jdbc.Driver").newInstance();
- conn = DriverManager.getConnection("jdbc:mysql://mysql.cs.nott.ac.uk/axr00u", "axr00u", "swansea");
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
Add Comment
Please, Sign In to add comment