Help for this page

Select Code to Download


  1. or download this
    my $dbh = DBI->connect("DBI:mysql:$database:$db_server", $user, $passw
    +ord);
    
  2. or download this
    my $dbh = DBI->connect("DBI:mysql:$database;host=$db_server", $user,
    $password, {RaiseError=> 1})
       or die $DBI::errstr;