earl_the_perl has asked for the wisdom of the Perl Monks concerning the following question:
My error log prints the debug statement "calling DBI:CSV connect" and then that's it. I never see the second debug message. Firefox just shows a blank screen. The DBI tracelog shows these two messages:use strict; use Apache::Constants qw(:common); use Apache::Request; use DBI; use CGI::Carp; sub handler { my $r=Apache::Request->new(shift); carp("calling DBI:CSV connect"); DBI->trace( 2, 'dbitrace.log' ); my $dbh1 = DBI->connect("DBI:CSV:f_dir=/local/tmp") or die carp("$D +BI::errstr $!") carp("after DBI:CSV connect"); ....some other stuff.... return OK; }
and that's it. I can successfully connect to an Oracle db with the same code with the oracle specific changes to the connect line.-> DBI->connect(DBI:CSV:f_dir=/local/tmp, , ****) -> DBI->install_driver(CSV) for dynixptx perl=5.006001 pid=15252 ruid= +50195 euid=50195
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBD::CSV not connecting
by shenme (Priest) on Sep 24, 2004 at 22:02 UTC | |
by earl_the_perl (Novice) on Sep 24, 2004 at 22:09 UTC | |
|
Re: DBD::CSV not connecting
by jZed (Prior) on Sep 25, 2004 at 17:37 UTC | |
by earl_the_perl (Novice) on Sep 27, 2004 at 18:59 UTC | |
by jZed (Prior) on Sep 27, 2004 at 19:41 UTC | |
|
Re: DBD::CSV not connecting
by jdalbec (Deacon) on Sep 25, 2004 at 04:00 UTC |