|
|
|
Re: Is it possible to connect Oracle Enterprise on UNIX with Oracle Client on Windows [message #7284 is a reply to message #7282] |
Mon, 02 June 2003 07:47 |
|
Maaher
Messages: 7065 Registered: December 2001
|
Senior Member |
|
|
Usually, an entry looks like this:your_database_name.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ip_of_host_or_host_name)(PORT = 1521))
)
(CONNECT_DATA = (SID = your_database_name))
)
The file itself is usually located on your client in ORACLE_HOME/NETWORK/ADMIN directory. If not, you can look at the (optional) TNS_ADMIN registry setting via REGEDIT.
Just add an entry similar to the ones present/the one shown above.
Save and close the file.
You can check whether it works by opening a dos box and issuing the following command:C:> <B>tnsping your_database_name</B> If you get a reply than you know your TNSNAMES.ORA has been modified correctly.
HTH,
MHE
|
|
|