CMD ora-12560 Protocol Adapter error

Source: Internet
Author: User

This problem I solved for a long time, in fact, the crux of the problem is that I installed a oracle11g database on this machine and installed an Oracle Client, resulting in an error reporting a protocol adapter when using the Sqlplus/as sysdba link. Because the linked server or client cannot be judged by using Sqlplus/as sysdba link cmd.

Workaround:

1, not casually Baidu said open Oracleoradb11g_home1listener and ORACLESERVICEORCL and set the environment variables Oracle_home=d:\app\lgswork\product\11.2.0\ Dbhome_1 and ORACLE_SID=ORCL.

2, the actual solution: Delete the environment variable in the path of the client section can be

CMD ora-12560 Protocol Adapter error

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.