Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Create and set key TNS_ADMIN?

971306Oct 29 2012 — edited Oct 30 2012
1. Create a directory to be used for the Oracle Net configuration files, and set
the TNS_ADMIN variable to point to this. It doesn’t matter where the direc-
tory is, as long as the Oracle user has permission to create, read, and write it.
On Linux:
mkdir /u01/oracle/net
export TNS_ADMIN=/u01/oracle/net
Ensure that all work from now is done from a session where the variable has
been set.
On Windows:
mkdir d:\oracle\net
Create and set the key TNS_ADMIN as a string variable in the registry in
the Oracle Home branch. This will typically be
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb1g_home1

OK...in my little window CLI window I did the mkdir. HOW..HOW do I create and set the key TNS_ADMIN as a string variable. I have tried a few ways but I don't think i am doing it correctly. Please help.

Donna
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 27 2012
Added on Oct 29 2012
10 comments
8,973 views