how can i check its not a connection timeout problem?

is there a very basic example online of DBI under mod perl?




At 04:31 a.m. 6/02/2006, John Doe wrote:
Jonathan Vanasco am Sonntag, 5. Februar 2006 00.27:
> Try:
>
> my  $dbArgs = { RaiseError => 1, AutoCommit => 0 , TraceLevel => 3 };
> my    $dbh = DBI->connect( $db, $dbUser, $dbPass , $dbArgs );
>
> while you `tail -f` the errorlog ( /usr/local/apache2/log/error_log
> on my system )
>
> the tracelevel will show you  exactly what's going on within DBI.
>
> On Feb 4, 2006, at 5:40 PM, Derek Robson wrote:
> > that did not help, still no errors, still not good output.

Derek,

if the source of the erroneous behaviour is not detected, you could try (as a
workaround only...) to store the query result in a variale and print all at
ounce at the end... but this surely would not be "the solution".

You don' hit the connection timeout during the db query, do you?

hth,
joe



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.2/251 - Release Date: 4/02/2006

Reply via email to