Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I actually get the tnsnames.ora file to import?

david.karrJun 8 2009 — edited Jun 9 2009
I've read the instructions on how to get the tnsnames.ora file to import, but nothing is working.

I've seen conflicting information on the net about exactly where SQLDev looks for the tnsnames.ora file. I've seen both %HOME%\tnsnames.ora and %HOME%\.tnsnames.ora mentioned, but neither of those appear in the SQLDev online help.

I don't have Oracle installed, so I tried setting the environment variable TNS_ADMIN to my home directory and putting "tnsnames.ora" in that directory and restarting SQLDev. No difference.

I actually have some connections already, which I think I must have imported from this file at one point, but I don't remember how I did it. I've noticed the "Import Connections" dialog, but that appears to be useless, as it only allows importing from some XML or Properties format.

What is the simplest way to get this done?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 7 2009
Added on Jun 8 2009
2 comments
2,531 views