in reply to No database driver specified and DBI_DSN env var not set

It seems Apache::DDI doesn't know what database to connect to. It looks like the DSN is incomplete. Where do you assign a value to $db in db.pl?

The next thing I see is that you're using a single word as your $dsn. By convention a $dsn string takes the form

dbi::driver::dbname;host=$host;port=$port;
So once you fix the error in the connect_on_init arguments then setPingTimeout might not like the $dsn you're giving it.
--
jpg

Replies are listed 'Best First'.
Re^2: No database driver specified and DBI_DSN env var not set
by EvanCarroll (Chaplain) on Oct 13, 2005 at 04:35 UTC
    I tried your suggestions as well to no avail, I should add too I'm using sockets rather than tcp/ip. Thanks for the suggestion.


    Evan Carroll
    www.EvanCarroll.com