Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public dbconnectivity() throws ClassNotFoundException, SQLException {
- Class.forName("com.mysql.jdbc.Driver");
- con=(Connection) DriverManager.getConnection("jdbc:mysql://mysql.hostinger.in/ku", "u260934805_ker", "");
- s=(Statement) con.createStatement();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement