Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.sql.Connection;
- import java.sql.DriverManager;
- import java.sql.SQLException;
- public class files {
- public static void main (String args[])
- {
- try {
- Connection c = DriverManager.getConnection("jdbc:mysql://localhost:3306/oksh" , "root" , "BOla1425");
- } catch (SQLException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement