Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Specifying Variable SID in DBD::Oracle

by ajwans (Scribe)
on Mar 01, 2002 at 03:40 UTC ( [id://148467]=note: print w/replies, xml ) Need Help??


in reply to Specifying Variable SID in DBD::Oracle

Make sure you set the environment variable ORACLE_HOME first of all. I also set the TWO_TASK environment variable so I don't have to put the SID in the script.
$ENV{ORACLE_HOME}=/path/to/oracle $ENV{TWO_TASK}=T:IP_ADDRESS:SID $database = DBI->connect ('dbi:Oracle', $user, $pass, {});
Edit dws add code tags

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-26 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found