How to create tnsnames.ora [message #207890] |
Thu, 07 December 2006 04:33 |
oracledba_raja
Messages: 23 Registered: July 2006
|
Junior Member |
|
|
Hi All,
Good Evening.
I installed the Oracle 9i client s/w in my PC.
During the installation process, when it asked for Host name and IP address for net configuraion, I just exit from it.
Because I don't the IP address and SID of the Server.
Now, I know abt it.
But, I am quite confused, when going thru net configuration.
To have tnsnames.ora, which is the right way to go?
Please guide me.
Thanks a lot.
Thanks and Regards,
Raja.
|
|
|
|
|
|
Re: How to create tnsnames.ora [message #208362 is a reply to message #208266] |
Sat, 09 December 2006 19:27 |
Admin@Lightsql.Com
Messages: 36 Registered: November 2006
|
Member |
|
|
If you give the ip 192.168.100.64 and set up tnsnames, there is a minor issue. When you disconnect the computer from network, or if your ip is changed by dynamic DNS (I am seeing you are connected to a local router), you client & server connection will be broken and you will get tns error!.
If the database server is in your local machine(laptop or PC), it is better to use localhost (127.0.0.1) ip.
If you are confident that your ip will not be changed, yes, you can use that.
Cheers,
Jay
Fun Programming with Oracle & Visual C++, Author of http://www.lightsql.com.
[Updated on: Sat, 09 December 2006 19:28] Report message to a moderator
|
|
|