Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try
- {
- Class.forName("com.mysql.cj.jdbc.Driver");
- con=DriverManager.getConnection("jdbc:mysql://localhost:3306/routinefinder","root","" );
- System.out.println("Connected");
- }catch(Exception ex){
- System.out.println("Not Connected");
- // System.out.println(ex);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement