Do not install Oracle, connect to Oracle using Plsql

Source: Internet
Author: User

Usually when the enterprise development, the database is not installed in our local (nonsense), so when using plsql, when not necessary, we try not to install Oracle, too big;

Next say I plsql, do not install Oracle's use steps;

1. Personal Local Environment

Os:win10

Oracle not installed

2. Download a instantclient, remember to 32-bit, Plsql does not support 64-bit

Http://pan.baidu.com/s/1eSPy7C2

I Baidu cloud disk share, you can directly download

3. Create a directory to store instantclient

Can I as an example: D:\oracle\instantclient_11_2

Create two files under this folder:

Sqlnet.ora and Tnsnames.ora

Sqlnet.ora content is:

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

Tnsnames.ora content is:

Rxzqweb_devdb =  (DESCRIPTION =    (address_list =      172.16.44.132) (PORT = 1521))    (CONNECT _data =      (service_name =orcl)    )  )

The Red font part please revise according to oneself actual situation

Then add a system variable:

Variable name: tns_admin

Variable value: D:\oracle\instantclient_11_2 (that is, the directory created earlier)

4. Install the PL/SQL Developer and configure the connection parameters for Oracle:

Open Pl/sql,tools-->preferences

5. Restart the plsql, test it, OK!

If error: Ora-12154:tns:could not resolve the connect identifier specified.

Then your system variables are not set or set incorrectly! Please check!

The query data may end up being garbled: providing a solution

Create a new system variable, set the variable name: Nls_lang, Variable value: Simplified Chinese_china. ZHS16GBK or American_america. Al32utf8 (according to the actual situation to determine the value of variables), OK

Do not install Oracle, connect to Oracle using Plsql

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.