My host says that they have installed the DBI module but when I try and test it I don't get any response.--Just a blank page. Am I doing anything wrong or is the problem with my host and the module installation?
#!/usr/bin/perl -w use DBI; $db="accountname_webapp"; $host="localhost"; $user="accountname_webadmi"; $password="password"; my $dbh = DBI->connect ("DBI:mysql:database=$db:host=$host", $user, $password) or die "Can't connect to database: $DBI::er +rstr\n"; $dbh->disconnect or warn "Disconnection error: $DBI::errstr\n"; exit;
In reply to Installing and Testing DBI by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |