TNS ADMIN
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: TNS ADMIN

  1. #1
    Join Date
    Jan 2001
    Posts
    515
    I want change the location of the tnsnames.ora file on our network to a share drive so that everyone can use the same one. I read that there is a TNS_ADMIN entry in the registry but I can't find it. How do I set this up. I want SQLPLus to look for the TNSNAMES.ORA file on my share drive by default. Thanks.

  2. #2
    Join Date
    May 2002
    Posts
    2,645
    On NT?
    right-click My Computer > Environment and set a system or user variable called TNS_ADMIN. This should point to the shared directory where you intend to place the network admin files (tnsname.ora, sqlnet.ora). No need to mess with the registry.

  3. #3
    Join Date
    Jan 2001
    Posts
    515

    It didn't work

    I added the system variable but when I move it from where it is to the new directory it doesn't find the file.

  4. #4
    Join Date
    May 2002
    Posts
    2,645
    Try it as a user variable (don't know how your network is set up), but I guarantee you it works.

  5. #5
    Join Date
    Jan 2001
    Posts
    515

    It Works

    Sorry. I checked my directory and it was spelled wrong. Thanks for your help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width