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

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?

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

Replies are listed 'Best First'.
Re^4: DBI connect without an entry in TNSNAMES.ORA
by ericdp (Novice) on Nov 09, 2006 at 17:34 UTC
    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