Help for this page

Select Code to Download


  1. or download this
    use strict;
    use DBI;
    ...
    my $user = 'hydra_analyst';
    my $passwd = 'hydra_analyst';
    my $dbh = DBI->connect($dsn, $user, $passwd);
    
  2. or download this
    U:\scripts>odbc_test1.pl
    DBI connect('LNQ_HYDRA_APPS','hydra_analyst',...) failed: OpenClient m
    +essage: LA
    ...
    Message String: ct_connect(): directory service layer: internal direct
    +ory contro
    l layer error: Requested server name not found.
     at U:\scripts\odbc_test1.pl line 6