GaijinPunch has asked for the wisdom of the Perl Monks concerning the following question:
and it works just fine. I confirm the data is entered by poking around MySQL. It goes off w/o a hitch.my $dbh = DBI->connect("DBH:mysql:dbname=router:host=localhost","usern +ame","passwd", {'RaiseError' => 1 });
I looked around on Google, but none of the hits I came up w/ offered a very good solution. Basically, the only thing different in the two scripts is the user running them.Can't connect(DBH:mysql:dbname=router:host=localhost username passwd H +ASH(0x827b5ac)), no database driver specified and DBI_DSN env var not + set at /var/www/localhost/cgi-bin/first.pl line 10
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: more MySQL fun
by borisz (Canon) on Jan 11, 2005 at 01:05 UTC | |
by GaijinPunch (Pilgrim) on Jan 11, 2005 at 02:37 UTC | |
|
Re: more MySQL fun
by runrig (Abbot) on Jan 11, 2005 at 01:02 UTC |