Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String URL = "jdbc:mysql://ip address:3306/mydb";
- String userName = "yuh5";
- String password = ***************;
- try {
- Connection myConn = DriverManager.getConnection(URL, userName, password);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement