Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Class.forName("com.mysql.jdbc.Driver");
- String connectionString = "jdbc:mysql://localhost:3306/BD";
- Connection connection = DriverManager.getConnection(connectionString, "root", "password");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement