Oracle 11 Client installation and PLSQL and TOAD Chinese garbled characters

Source: Internet
Author: User
Wanwentao. blog.51cto. com2406488456195oracle11 Client installation and PLSQL and TOAD Chinese garbled characters 1. Download the "InstantClientPackage" software from the Oracle official website to better implement the Oracle client greening solution. Www. oracle. compolicysoftwaretec

Http://wanwentao.blog.51cto.com/2406488/456195 oracle11 Client installation and PLSQL and TOAD Chinese garbled 1. From Oracle official download "Instant Client Package" software, better implementation of the Oracle Client green solution. For: http://www.oracle.com/technology/software/tec

Http://wanwentao.blog.51cto.com/2406488/456195


Oracle 11 Client installation and PLSQL and TOAD Chinese garbled characters

1. Download from Oracle officialThe "Instant Client Package" software provides a better solution for greening the Oracle Client.

For: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html

Downloadable packages include:

Download package:

Instantclient-basic-win32-11.2.0.1.0.zip (Latest Version)

2. decompress the package to the installation directory.For example, under D: \ Program Files \, create a folder named D: \ Program Files \ instantclient_11_2 \ under D: \ Program Files \ instantclient_11_2 \ and create a folder named tnsnames in admin. ora file,

The input format is as follows:

OWEN_192.168.2.35 = 192.168.2.35: 1522/owen

Here, 1522 is the listening port of oracle. If you are not sure what the listening port of your oracle is, you 'd better use

Let's take a look at the lsnrctl status Command.

Here, you can modify it based on your actual situation. Pay attention to the space issue in the middle. If there are more or fewer spaces, errors will occur.

In fact, in the second step, create a two-tier network \ admin folder, and then create a tnsnames. ora file in admin, which is not required. This is just to facilitate login.

3. configure system environment variables

Enter D: \ Program Files \ instantclient_11_2 at the beginning of the Path variable value, or add:; D: \ Program Files \ instantclient_11_2 at the end.

Create a variable named oracle_home. The variable value is D: \ Program Files \ instantclient_11_2.

4. Install PLSQL Developer7.1 or another version. Be sure not to install the tool in the directory with "(x86)" during installation, which is prone to errors.

5. Run"PLSQL Developer". Connect and try it. Normally, the connection is successful.

Garbled characters After PLSQL Developer Connection Processing

Problem description: After you connect to other Oracle databases using the Oracle green client, garbled information is displayed.

Solution:

6. Open the installation directory of PLSQL Developer and see the directory with plsqldev.exe,

Create a "PLSql_run.bat" file in the PLSQL Developer folder and enter the following content in the file:

Bytes ---------------------------------------------------------------------------------------------

Set nls_lang = SIMPLIFIED CHINESE_CHINA.ZHS16GBK

PLSQLDev.exe

Bytes ---------------------------------------------------------------------------------------------

7. EnableUse the PLSql_run.bat file to start the PLSQL Developer tool. Otherwise, garbled characters may occur.

8. TOAD Chinese garbled Solution
Set the environment variable nls_lang. The variable value is AMERICAN_AMERICA.US7ASCII.

Check Method for unsuccessful running:

1. The connection fails. Check the network and server firewall.

2. Open "PLSQL Developer" and click "cancel" to go to

In the Tools/preferences window, go to Oracle/Connection. The changes are as follows:

Enter D: \ ORA10 in Oracle Home.

Input: D: \ ORA10 \ OCI. dll in oci library

Try again.

Bytes --------------------------------------------------------------------------------------------------

Chinese garbled solutions:

On my computer, right-click Properties> advanced system Settings> advanced> environment variables to create user variables:
Variable name: NLS_LANG
Variable value: AMERICAN_AMERICA.UTF8

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.