in reply to db connection help

Hi, your DBI connect statement looks wrong. Try this:

my $DSN = "dbi:mysql:$MyDB"; $ProgOption{dbh}=DBI->connect($DSN, $User, $PW, {PrintError => 0, Rais +eError => 1 });

Hope this helps!



The way forward always starts with a minimal test.