Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: multiple versions of SQLPlus.exe [now evolved to: multiple versions of tnsnames.ora in NT/W2K]

RE: multiple versions of SQLPlus.exe [now evolved to: multiple versions of tnsnames.ora in NT/W2K]

From: Mark Leith <mark_at_cool-tools.co.uk>
Date: Wed, 30 May 2001 03:35:22 -0700
Message-ID: <F001.00313377.20010530031533@fatcity.com>

You CAN actually set the TNS_ADMIN variable in the registry under HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/ - It may not be there at first, all you need to do is create a new "key" called TNS_ADMIN with a value of the path to your master tnsnames.ora file.

HTH Mark

-----Original Message-----
Granaman
Sent: Tuesday, May 29, 2001 09:45
To: Multiple recipients of list ORACLE-L versions of tnsnames.ora in NT/W2K]

In Unix, one can create links to a master by "$ ls -s <some master tnsnames.ora> <some other location/file>". (I know, I could, and probably should, use the TNS_ADMIN environmental variable instead.)

There seems to be no equivalent of this in NT though. Creating a "shortcut" doesn't seem to work. Copying files around seems primitive at best. Am I missing something? [OK, OK! I'll reform and use the environmental variable!]

-Don Granaman
[certifiable OraSaurus]

> Dave,
>
> It seems to me that you are having a problem reading the proper
TNSNAMES.ORA for
>
> the different DBs. What I would do in your situation is to search for all
> TNSNAMES.ORA files in your PC, since you have products installed in more
than
> one home and more than one version you should have multiple. Edit them
and see
> which ones contain the entries that you need, in one or more of them some
> entries will be missing, what you can do is copy/paste the missing
entries, once
>
> you have the file you want then copy it to all the different "Homes" and
you
> should be able to connect to the different DB's.
[... snip ...]

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Don Granaman
  INET: granaman_at_home.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mark Leith
  INET: mark_at_cool-tools.co.uk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed May 30 2001 - 05:35:22 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US