Oracle SQL Developer How to configure TNS

Source: Internet
Author: User

Oracle's SQL Developer 4.0.3.16 is installed, but when connecting to a database, if you choose a connection type of "TNS" and cannot get a network alias, how do I set up to access the TNS file?

The simplest way to set the TNS_ADMIN environment variable to point to the directory where the Tnsnames.ora file is located is as follows

C:\users\konglb>set Tns_names=c:\oracleclient\oracle32\product\11.2.0\client_1\network\admin

C:\users\konglb>echo%tns_admin%

C:\OracleClient\Oracle32\product\11.2.0\client_1\network\admin

You can also set environment variables by setting the

Oracle SQL Developer How to configure TNS

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.