Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: DB Connectivity issue

by graff (Chancellor)
on Jun 01, 2016 at 01:55 UTC ( #1164654=note: print w/replies, xml ) Need Help??


in reply to DB Connectivity issue

I'm not familiar enough with the general syntax specs for connection strings, let alone the specific syntax variants supported by Oracle and/or DBD::Oracle, to say why the first $DSN value works and the second does not. (With reference to stevieb' reply above, I assume that:
my $DSN='dbi:Oracle:host=127.0.0.1:sid=db.company.local:port=1521';
yields a failure even when you try it first.) In any case, given that you have a form of $DSN that works, is there a compelling reason for finding a different form that also works?

(I wouldn't be inclined to regard the failure of the above syntax to be "unusual" or "surprising" - probably because I don't have enough relevant experience to expect it to work. But having found a method that works, I'd just use that and stop worrying about it.)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2021-02-26 15:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?