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!
In reply to Re: db connection help
by 1nickt
in thread db connection help
by attagirl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |