fionbarr has asked for the wisdom of the Perl Monks concerning the following question:
I am getting the error:use DBI; my $host = "yyy.xxx.com"; my $user = "user"; my $password = "password"; my $dbh = DBI->connect("dbi:Oracle:host=$host;sid=orcl;port=7010", $user, $password, { RaiseError => 1, AutoCommit => 0 }) +;
TNS:listener does not currently know of SID in connect descriptor
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: connect to Oracle with DBI
by Corion (Patriarch) on Aug 29, 2014 at 19:25 UTC | |
by fionbarr (Friar) on Aug 29, 2014 at 19:35 UTC | |
by runrig (Abbot) on Aug 29, 2014 at 20:07 UTC |