Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Connection conn= null;
- try {
- Class.forName("com.mysql.jdbc.Driver");
- String url="jdbc:mysql://127.0.0.1:3306/libreria";
- String username="root";
- String password="";
- conn= DriverManager.getConnection(url, username, password);
- }catch(Exception exx) {
- System.out.println("s");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement