Help for this page

Select Code to Download


  1. or download this
    DBI connect('database=test;host=xxx.xxx.x.x','username',...) failed: T
    +imeout of authentication at C:/Perl/site/lib/DBD/mysqlPP.pm line 109 
    +at database.pl line 7
    Can't call method "prepare" on an undefined value at database.pl line 
    +11.
    
  2. or download this
    #!perl
    
    ...
    $numRows = $sth->rows;
    $numFields = $sth->{'NUM_OF_FIELDS'};
    $sth->finish;