I have what I think is a working libdbi setup with libdbi-dbd-oracle
built with the Oracle Instant Client 11.2

I can use the perl DBI Oracle package to connect with a connection syntax of

$dbh = DBI->connect("dbi:Oracle:host=$host;port=$port;sid=$sid", $user, $pass);

which does NOT require the tnsnames.ora configuration file.

I can't figure out what the libdbi-dbd-oracle connection call syntax should be.

The code seems to imply that only a tnsnames dbname can be used, but since
perl seems to be able to connect directly I am a little bit stuck.

What is the connect syntax for libdbi to connect to an oracle database
without requiring a tnsnames.ora file?

Any pointers to documentation or exaples would be appreciated.


libdbi-users mailing list

Reply via email to