public boolean verifyConnection(){
    try{
      Class.forName("com.mysql.jdbc.Driver").newInstance();
      this.connect=DriverManager.getConnection("jdbc:mysql:"+this.link,this.username, this.passwd);
      this.statement=this.connect.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
      return true;
    }catch(SQLException ex){
      Logger.getLogger(ImportDriver.class.getName()).log(Level.SEVERE, null, ex);
    }
    catch(ClassNotFoundException ex){
      Logger.getLogger(ImportDriver.class.getName()).log(Level.SEVERE, null, ex);
    }
    catch(InstantiationException ex){
      Logger.getLogger(ImportDriver.class.getName()).log(Level.SEVERE, null, ex);
    }
    catch(IllegalAccessException ex){
      Logger.getLogger(ImportDriver.class.getName()).log(Level.SEVERE, null, ex);
    }
    return false;
  }