Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Using DBI to make connection to a database

by Corion (Patriarch)
on Jul 02, 2015 at 12:40 UTC ( [id://1132967]=note: print w/replies, xml ) Need Help??


in reply to Using DBI to make connection to a database

$DSN= 'dbi:DriverName:database=$db;host=$host;port=$port;'

Have you verified that $DSN contains what you think it should contain?

print "Connecting to [$DSN]\n";

This might help you to find out whether the value of $DSN is what you think it is.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found