Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Please help: where is "tnsnames.ora"
Hello Huaping,
Try /etc directory or $ORACLE_HOME/network/admin directory.
If still no success, try typing from the unix command line:
> find / -name tnsnames.ora -print
If you still can't find the tnsnames.ora file(remember tnsnames.ora is only required on the client machines), and what you are after is the host, port and sid. You can find that in the sqlnet.ora file. Again to a find as above or look under $ORACLE_HOME/network/admin or /etc.
Good Luck.
Nancy Teh
Huaping Luo wrote:
>
> I am using UNIX (solaris2) with SQL*NET2. Which directory is the file
> "tnsnames.ora" is in becuase I want to find my "HOST.PORT.SID" to connect
> my ORACLE database using JDBC thin driver.
>
> Any help is extremely appreciated.
>
> Huaping Luo
--
![]() |
![]() |