Oracle: pl/SQL developer connecting to a remote oracle database (Lite version)

Source: Internet
Author: User

To put it a little bit, pl/SQL developer needs to install the local Oracle client to connect to remote oracle before using the client configuration. Due to the bloated client, oracle now provides green and small solutions. The following is a detailed description.

Environment: xp, pl/SQL developer, Instant Client

Question: How to configure plsql developer and how to configure Instant Client

1. Install pl/SQL developer. Note that 64-bit pl/SQL developer is only 32-bit, but cannot be installed in the program files (x86) folder, it can be attached to another disk path, such as D: \ pl/SQL developer. Configure later

2, download Instant Client, go to the oracle official website, need to register login to download instant oracle client-basic-win32-11.2.0.1.0, but the Chinese network has a lot of resources can also be used.

1) because it is a green version, directly extract it to a place such as E: \ instantclient_11_2

2) E: \ instantclient_11_2 create a folder named network

3) create a file named tnsnames. ora in the network.

Copy the following content:

AVTEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 103.65.183.207) (PORT = 1521 ))
)
(CONNECT_DATA =
(SERVICE_NAME = avtest)
)
)
The first yellow color can be any name.
The second Purple ip address is the ip address of the host where the remote oracle is located.
The third purple name is the Global Database Name of the remote oracle host, which cannot be modified at will.
The last two items can be used together to uniquely identify a connection object.
3. Configure pl/SQL developer and enter plsql without connection status. In the preference menu under tools, set the path in the connection tab of oracle:

Select the content decompressed by the instant client in step 2 and the oci. dll file. After that, restart plsql developer.

Now that the configuration is complete, enter the user name, password, and drop-down password of plsql developer. You can see that you have obtained the global database connection name AVTEST in tnsnames. ora. In normal mode, make sure you can connect. Leave a message to solve the problem.

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.