in reply to DBI script works on command line but not in browser

use DBI;
my $dbh = DBI->connect("DBI:mysql:databasename:server", "user","password")
    or die "Couldn't connect to database";
  • Comment on Re: DBI script works on command line but not in browser