Plsql link remote Database not on the workaround

Source: Internet
Author: User

Configuration method for using Plsql developer in Win7

(2012-10-21 19:21:48)

Reproduced

Tags: orcle win7 plsqldeveloper it Category: databases

1, download 32-bit version instantclient-basic-nt-11.2.0.3.0.zip, because Plsqldev is 32-bit, there is no 64-bit version, this is not related to the operating system
2,instantclient after downloading is a compressed file, do not need to install, configure a bit can. Unzip the file to the ready-to-put directory, I chose the Oracle directory for the C drive, the path is C:\Oracle\instantclient_11_2.

Then configure path in the system environment variable, add instantclient path, namely C:\Oracle\instantclient_11_2;

3. Add Environment variables:

Nls_lang=american_america. Zhs16gbk

Tns_admin=c:\oracle\instantclient_11_2

4. set in the preferences->oracle connection in PL/SQL developer-> tools:
Oracle Home Directory Name: Oradb11g_home1 (can also be C:\Oracle\instantclient_11_2)
OCI Library: C:\Oracle\instantclient_11_2\oci.dll
5 . Copy the "Tnsnames.ora" file from the original Oracle installation directory to C:\Oracle\instantclient_11_2 and open it with Notepad to add or modify the following paragraph (this is my new local database)
Njust =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST =127.0.0.1) (PORT = 1521))
(Connect_data =
(SERVER = dedicated)
(service_name = njust)
)
)

Open Plsql Developer again to find the appropriate database and run successfully.

Plsql link remote Database not on the workaround

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.