Re: DBI->data_sources('Oracle')



As far as I understand DBD::Oracle (the driver DBI uses for Oracle), it is "just" a translator for the Oracle Call Interface (OCI), and to my knowledge, OCI uses TNSNAMES.ORA. If you use a recent Oracle client software, the OCI may perhaps emulate a TNSNAMES.ORA based on the Oracle Internet Directory. *If* that works, it is documented (or should I say burried alive?) somewhere in the Oracle documentation. My guess is that you would add some special entry to TNSNAMES.ORA to make the OCI lookup databases in the Oracle Internet Directory.

Alexander

On 02.05.2006 21:09, Loo, Peter # PHX wrote:

Is there anyway that I can force Perl DBI to not use TNSNAMES.ORA and
instead use Oracle Internet Directory?

-----Original Message-----
From: Alexander Foken [mailto:alexander@xxxxxxxx] Sent: Tuesday, May 02, 2006 11:29 AM
To: Loo, Peter # PHX
Cc: dbi-users@xxxxxxxx
Subject: Re: DBI->data_sources('Oracle')

First guess: $ORACLE_HOME/NETWORK/ADMIN/TNSNAMES.ORA or
$ORACLE_HOME/NET80/ADMIN/TNSNAMES.ORA.

Alexander
On 02.05.2006 20:15, Loo, Peter # PHX wrote:



Hi All,

Will someone please tell me where this module is getting the information from? One of my severs that I am trying to connect to is NOT listed in the output of:

@databases = $dbh->data_sources('Oracle');

Thanks.

Peter



This E-mail message is for the sole use of the intended recipient(s)


and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the sender by reply
E-mail, and destroy all copies of the original message.








--
Alexander Foken
mailto:alexander@xxxxxxxx http://www.foken.de/alexander/



This E-mail message is for the sole use of the intended recipient(s) and
may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not
the intended recipient, please contact the sender by reply E-mail, and
destroy all copies of the original message.


This E-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply E-mail, and destroy all copies of the original message.





--
Alexander Foken
mailto:alexander@xxxxxxxx http://www.foken.de/alexander/

.



Relevant Pages

  • RE: DBI->data_sources(Oracle)
    ... As far as I understand DBD::Oracle, ... This E-mail message is for the sole use of the intended recipient ... you are not the intended recipient, please contact the sender by reply ...
    (perl.dbi.users)
  • Re: DBD::Oracle 1.19 failing to make
    ... Your Oralce client 8.0.5.0.0 is most likly too old to use the latest version of DBD. ... There were a number of changes in the OCI for the 9x version especially in the area of Batch feeding and this is where you are getting your errors. ... Can you tell me which version of the Oracle client you are using as I also see a funny warning in that it cannot find SQL*Plus. ...
    (perl.dbi.users)
  • Re: Accessing Oracle 9i tables on a Linux box
    ... The Oracle .Net Managed client is built upon the Oracle Call Interface ... - and that is the same interface that the MSFT provider is built upon. ... OCI is in turn implemented upon the Net8 protocol stack and the Two Task ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: regarding installing dbd-oracle
    ... It also looks like you are missing one or more of your Oracle client OCI files. ... There is a detailed instruction on how to install DBD::Oracle in the README.win32.txt file that is part of the DBD::Oracle tar follow that and you should have no problems. ... Using OCI directory 'oci' ...
    (perl.dbi.users)
  • Re: Volunteers sought to help with or take over Oracle::OCI
    ... Every feature Oracle offers can be accessed via OCI. ... The Oracle::OCI module bootstraps itself at build time. ... access to the *entire* Oracle OCI interface. ...
    (perl.dbi.users)