public static Connection getConnection(){
		String DBDRIVER = "com.mysql.jdbc.Driver";
		String DBURL = "jdbc:mysql://localhost:3306/bookdb";
	    Connection connectioncon = null;
	    try{
	    	Class.forName(DBDRIVER);
	    	connectioncon = DriverManager.getConnection(DBURL,S1,S2);	
	    }catch(ClassNotFoundException e){
			System.err.println(e.getMessage());
			System.exit(1);
		}catch(SQLException e){
			System.err.println(e.getMessage());
		}
		return connectioncon;
	}