Green Plsql/developer paired with Oracle thin client

Source: Internet
Author: User

The main steps are as follows:

1. Download the Oracle thin client and unzip it (without installation)

2. Create an Oracle thin client configuration file (Sqlnet.ora, Tnsnames.ora)

3. Set the environment variable Tns_admin

4. Set Plsql to run as Administrator (WIN7/WIN8)

5. Configure Oracle Connection parameters for Plsql


1. Download the Oracle thin client and unzip it (without installation )

download from here: http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html, then choose Basic version.

Decompression: C:\instantclient\ (catalogue optional)


2. Create an Oracle thin client configuration file (Sqlnet.ora, Tnsnames.ora)

Create new Sqlnet.ora and Tnsnames.ora files under the C:\instantclient\ directory

the contents of the Sqlnet.ora file are:

sqlnet. Authentication_services= (NTS)
NAMES. Directory_path= (TNSNames, Ezconnect)

the contents of the Tnsnames.ora file are:

orcl=
(DESCRIPTION =
(Address_list =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.103) (PORT = 1521))
)
(Connect_data =
(service_name = ORCL)
)
)


3. Set the environment variable Tns_admin

Variable Name: tns_admin
Variable value: C:\instantclient\
Otherwise appears: Ora-12154:tns:could not resolve the connect identifier specified error

I escalated the ora-12543 on my own machine: unable to find host error

If you have previously installed ORACLE and uninstalled, you will be left with the Nls_lang=na key. Enter regedit to open the registry hkey_local_machine/software/oracle. Find the Nls_lang=na on the right and delete it.
Otherwise it will be reported ora-12705:cannot access NLS data files or invalid error.

4. Set Plsql to run as Administrator (WIN7/WIN8)

Win7/win8, you need to run Plsqldev.exe program as Administrator
(Right--"properties--" compatibility--"Run as Administrator)

5. Configure Oracle Connection parameters for Plsql

Select the connection in the PL/SQL Tools/Preferences (tool/preference/) and set the Oracle home directory name (i.e. the installation directory) and the OCI library on the right.
Oracle Home directory Name: C:\instantclient\
OCI Library: C:\instantclient\Oci.dll
pay attention to the first application, then determine


Let's test it.

If you are bothered, use Oracle SQL developer directly.


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.