Advertisement
belal_hamdy

Untitled

Jun 27th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1. import java.sql.Connection;
  2. import java.sql.DriverManager;
  3. import java.sql.SQLException;
  4.  
  5. public class files {
  6.     public static void main (String args[])
  7.     {
  8.         try {
  9.             Connection c = DriverManager.getConnection("jdbc:mysql://localhost:3306/oksh" , "root" , "BOla1425");
  10.            
  11.        
  12.         } catch (SQLException e) {
  13.             // TODO Auto-generated catch block
  14.             e.printStackTrace();
  15.         }
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement