up vote 2 down vote favorite
share [g+] share [fb]

I installed the oracle client only but was told to update my tnsnames.ora file with the info my dba sent me. But I don't have a tnsnames.ora file.

On another machine with a full oracle admin install it is at:

  • C:\Oracle\product\10.1.0\Db_1\NETWORK\ADMIN\tnsnames.ora

So do I need the tnsnames.ora file?

How do I let oracle know where it is?

fk

link|improve this question
feedback

4 Answers

I have Oracle Client installed on my machine. Last week my DBA updated my "tnsnames.ora" file because of server change. The file is in:

  • C:\oracle\ora81\network\ADMIN

I guess you should consult your DBA if copying the file to that directory doesn't work.

link|improve this answer
feedback

When you say oracle client only, are you using the Oracle Instant Client? If so you should set the TNS_ADMIN environment variable to point to where ever you store your tnsnames.ora file

link|improve this answer
feedback

If the .\network\admin folder exists on your machine, simply copy the tnsnames.ora in this directory.

link|improve this answer
feedback

Its in %ORACLE_HOME%\network\admin folder where %ORACLE_HOME% is the parth to which the client is installed, and an entry is done to the PATH variable. If the file does not exist, create one, using the file on the other machine as a template

link|improve this answer
feedback

Your Answer

 
or
required, but never shown