Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

ORA-12557 of oracle: TNS: protocol adapter cannot be loaded

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Operating System: Windows 7

Database version: 11.2.0.1

Problem Description:

You can log in directly through sqlplus sys/oracle@10.10.100.109:1521/ysxt as sysdba, but you cannot log in through sqlplus sys/oracle@YSXT as sysdba, and ORA-12557: TNS: Protocol adapter cannot be loaded. Check the environment variables TNS_ADMIN and ORACLE_HOME.

Finally, check the PATH environment variable and find that both client and server directories have been added to path, and remove the client configuration. As follows:

Solution:

Put it in PATH

F:\app\Administrator\product\11.2.0\client_1\bin;F:\app\Administrator\product\11.2.0\dbhome_1\bin;

changed to

F:\app\Administrator\product\11.2.0\dbhome_1\bin;

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

  • Hadoop 2.2.X configuration parameter description: hbase-site.xml

    © 2024 shulou.com SLNews company. All rights reserved.

    12
    Report