Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I installed Oracle client for my Windows 7 machine. I can connect to a remote Oracle database using Toad for Oracle using the direct method (giving host, port and service name for the connection).

Now I tried to find the tnsnames.ora file from the Oracle client oracle home, but could not find it. I could not find a NETWORK\ADMIN folder in ORACLE_HOME (C:\app\myaccount\product\11.2.0\client_1).

Where is this file located?

share|improve this question

marked as duplicate by dezso, Mat, Jon Seigel, StanleyJohns, Kin Jun 25 '13 at 14:43

This question was marked as an exact duplicate of an existing question.

That's the default location; however, if you set the TNS_ADMIN environment variable, that location will be used instead. – Adam Musch Jun 25 '13 at 13:47

At least for older releases, I'd generally just create my own. It's a plain text file but you probably need to start with an example.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.