PLSQL garbled & TNS-12557: protocol adapter not loadable Solution

Source: Internet
Author: User

PLSQL garbled & TNS-12557: protocol adapter not loadable solves 1. garbled is a character set problem.

Set NLS_LANG = SIMPLIFIED CHINESE_CHINA.ZHS16GBK

 

Or
Set NLS_LANG = AMERICAN_AMERICA.UTF8

 

Yes. 2. I encountered a link to TNS-12557: protocol adapter not loadable start listener times ORA-27101: shared memory realm does not exist cause this is because I added ORACLE_HOME to the environment variable, the pointing path is another oracle version. both clients and servers are on one machine, so that some files cannot be found in oracle. Do not set ORACLE_HOME to a global environment variable, or point to the path of the oracle server. Use the bat script to start plsql, for example:
C code set ORACLE_HOME = E: \ oracle \ client9.0 \ ora90 set NLS_LANG = SIMPLIFIED CHINESE_CHINA.ZHS16GBK plsqldev.exe

 

In preferences, Oracle Home points to the client path you want. My client copies the entire folder from another machine.

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.