If the oracle client is not installed, use plsql to connect to oracle and oracleplsql.

Source: Internet
Author: User

If the oracle client is not installed, use plsql to connect to oracle and oracleplsql.
1.1. Download the Instant Client

Official Website:

Http://www.oracle.com/technetwork/cn/database/features/instant-client/index-092699-zhs.html

Download the instantclient-basic Package and decompress it to the local device. In this test, the package is D: \ JavaEEServer \ instantclient_10_2.

1.2. Configure sqlnet. ora

Sqlnet. ora (located in instantclient-basic)

SQLNET. AUTHENTICATION_SERVICES = (CNT)

NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)

1.3. Configure tnsnames. ora

Tnsnames. ora (located in instantclient-basic)

# Neikong is the name of the oracle service instance. Set this parameter based on your actual situation.

Neikong =

 

(DESCRIPTION =

 

(ADDRESS_LIST =

 

#172.16.3.153 fill in according to the actual situation, if you need to modify the port number, you can also modify

(ADDRESS = (PROTOCOL = TCP) (HOST =172.16.3.153) (PORT = 1521 ))

 

)

 

(CONNECT_DATA =

 

(SERVICE_NAME = neikong)

 

)

 

)

1.4. Configure Environment Variables

Variable name

TNS_ADMIN

Variable value

D: \ JavaEEServer \ instantclient_10_2

 

1.5. Configure PL/SQLDeveloper

Install PL/SQL Developer and configure oracle Connection parameters: Open PL/SQL, Tools --> Preferences, and configure Oracle Home and OCI library for Connection, as shown in


1.6. Restart and enter the user name and password for testing

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.