in reply to Re: DBI connect without an entry in TNSNAMES.ORA
in thread DBI connect without an entry in TNSNAMES.ORA

Hello,

I'd love to upgrade DBI & DBD and make changes to the TNSNAMES.ORA file. But the SAs and DBAs have those so locked down, it takes an act-of-god to get any changes in.

At one time, I thought I'd do it on my own pc, but I'm not allowed to install "unaproved" modules. Of which DBI is one. Every oncein a while inventory is done of machines and those finding unapproved software are re-imaged.

Yeah, not the most helpful place to work. They have really caught up on the idea of similar installations make for easier support/maintenance.

Eric
  • Comment on Re^2: DBI connect without an entry in TNSNAMES.ORA

Replies are listed 'Best First'.
Re^3: DBI connect without an entry in TNSNAMES.ORA
by ptum (Priest) on Nov 09, 2006 at 17:16 UTC

    Hmmmm. Well, according to DBD::Oracle, you are bypassing the tnsnames.ora on your local machine, anyway. The error you are receiving seems to indicate that the listener on the remote machine doesn't recognize the SID you are passing it. Are you sure you have the SID right?

      Of the 18 or so databases I'd like to connect to, three are down and should be unavailable. Of the rest, I am able to log on with no difficulties using sqlplus on those boxes.

      What I'd like to have is one app that can connect to all of these boxes. One use I'd like to have is to change all my passwords at one time. Another use is an internal audit check of our various apps. Unfortently I don't have one box that has all the databases listed in one TNSNAMES.ORA file. I don't know why, some DBA decided at one time to make sure there was some sort of seperation.

      Eric
        Right. But the question is, are you absolutely certain that SID "aaa" is on host "machineA.com" ?

        When you connect to the Oracle listener on "machineA.com" is telling you that it has no instance "aaa".

        --
        Clayton