Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: No database driver specified and DBI_DSN env var not set

by jpeg (Chaplain)
on Oct 13, 2005 at 04:17 UTC ( [id://499746]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://499746]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2024-04-23 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found