Plsql Connecting the Oracle Database

Source: Internet
Author: User

Recently in the work of the Oracle database, need to plsql client to connect to the database, the whole process has a lot of problems, now summarize the entire configuration process.

First, installation Oracle 11g bit, will 1 and the 2 unzip separately, will 2 overwrite the contents of the 1 the.

Second, installation + bit of Oracle Client ( instantclient-basic-win32-11.2.0.1.0 )

1. Download instantclient-basic-win32-11.2.0.1.0.zip ( must be in the first place ) ), unzip it to Oracle of the installation directory Product under (This machine is named: instantclient_11_2 ): D:\app\sunyiqing\product\instantclient_11_2 .

2. Copy a directory under the root directory of the database installation D:\app\sunyiqing\product\11.2.0\dbhome_1\NETWORK to the Oracle In the client directory D:\app\sunyiqing\product\instantclient_11_2

Third, installation PL/SQL Developer

installation Pl/sqldeveloper , in tools, preferences Connect inside Set OCI Library and the Oracle_home , for example, the native setting is:

Oracle Home Directory : D:\app\sunyiqing\product\instantclient_11_2

OCI Library : D:\app\sunyiqing\product\instantclient_11_2\oci.dll

iv. Setting Environment variables ( Modify PATH and tns_admin environment Variables )

1. For Nls_lang Environment Variables , preferably set to the same as the database side , first, enter from the database-side command Window :

Select Userenv (' language ') Nls_langfrom dual;

2. Right-click " My Computer " - " Properties " - " Advanced " - " Environment Variables " - " System Environment Variables ": 

1). Select "Path"- Click " Edit ", put "D:\app\sunyiqing\product\instantclient_11_2;" Join ;

 2). click " new "Tns_admin", "D:\app\sunyiqing\product\instantclient_11_2;", click " OK

3). Click " New ", the variable name is set to "Nls_lang", variable value is set to "Simplifiedchinese_china. ZHS16GBK ", click " OK ";

finally click " OK " to exit .


This is the whole process, of course, not only using Plsql but also using Navicat. The configuration principle is similar.

Required Software: Http://pan.baidu.com/s/1kTKLSjX

Plsql Connecting the Oracle Database

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.