Help for this page

Select Code to Download


  1. or download this
    sub connect {
      my $self = shift;
    ...
       return (DBI->connect($dsn,$USER,$PASSWORD,
          {PrintError => 0, RaiseError => 1}));
    }
    
  2. or download this
    # local      DATABASE  USER  METHOD  [OPTION]
    # host       DATABASE  USER  CIDR-ADDRESS  METHOD  [OPTION]
    ...
    # hostnossl  DATABASE  USER  CIDR-ADDRESS  METHOD  [OPTION]
    
    hostssl db_name db_user   192.168.105.45/32       md5