Connecting to Oracle 9i with no listener
From: John (isofroni_at_cc.uoi.gr)
Date: 03/18/04
- Next message: Tim Bunce: "Re: test_dynamic Error 29 installing DBD-Oracle v 1.15 on red hat 9 Oracle 9.2"
- Previous message: Jared Still: "Re: Avoiding coding username/password directly into perl script"
- Next in thread: Tim Bunce: "Re: Connecting to Oracle 9i with no listener"
- Reply: Tim Bunce: "Re: Connecting to Oracle 9i with no listener"
- Maybe reply: John: "Re: Connecting to Oracle 9i with no listener"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "DBI-Users" <dbi-users@perl.org> Date: Thu, 18 Mar 2004 11:37:52 +0200
How to get connected to an oracle server with not listener?
Which one is the correct?
$dbh = DBI->connect('dbi:Oracle:T:Machine:SID','username','password')
$dbh = DBI->connect('dbi:Oracle:','username@T:Machine:SID','password')
$dbh = DBI->connect('dbi:Oracle:','username@DB','password')
$dbh = DBI->connect('dbi:Oracle:DB','username','password')
$dbh = DBI->connect('dbi:Oracle:DB','username/password','')
$dbh = DBI->connect('dbi:Oracle:host=foobar;sid=ORCL;port=1521', 'scott/tiger', '')
$dbh = DBI->connect('dbi:Oracle:', q{scott/tiger@(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)(HOST= foobar)(PORT=1521))
(CONNECT_DATA=(SID=ORCL)))}, "")
The script and the Oracle is on the same server and i don't want to use listener to do the job.
Thanks for you help in advance.
- Next message: Tim Bunce: "Re: test_dynamic Error 29 installing DBD-Oracle v 1.15 on red hat 9 Oracle 9.2"
- Previous message: Jared Still: "Re: Avoiding coding username/password directly into perl script"
- Next in thread: Tim Bunce: "Re: Connecting to Oracle 9i with no listener"
- Reply: Tim Bunce: "Re: Connecting to Oracle 9i with no listener"
- Maybe reply: John: "Re: Connecting to Oracle 9i with no listener"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]