in reply to DBI Connection with RAC
You might want to check out DBD::Oracle. Found the following example lines of code from its documentation where the port number is specified:
$dbh = DBI->connect('dbi:Oracle:host=foobar;sid=ORCL port=1521', 'scot +t/tiger', '') $dbh = DBI->connect('dbi:Oracle:', q{scott/tiger@(DESCRIPTION=(ADDRESS +=(PROTOCOL=TCP)(HOST= foobar)(PORT=1521))(CONNECT_DATA=(SID=ORCL)))}, + "")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI Connection with RAC
by asafp (Novice) on Oct 11, 2010 at 16:09 UTC | |
by dasgar (Priest) on Oct 11, 2010 at 21:41 UTC | |
by asafp (Novice) on Oct 12, 2010 at 07:27 UTC |