使用PLSql连接Oracle时报错ORA-12541:TNS:无监听程序
查看oracle的监听服务 OracleOraDb11g_home1TNSLister 已经启动
命令行执行 lsnrctl status
TNS-12560: Message 12560 not found; No message file for product=NETWORK, facility=TNS
TNS-00527: Message 527 not found; No message file for product=NETWORK, facility=TNS
Message 1053 not found; No message file for product=NETWORK, facility=TNSTNS-12557: Message 12557 not found; No message file for product=NETWORK, facility=TNS
TNS-12560: Message 12560 not found; No message file for product=NETWORK, facility=TNS
TNS-00527: Message 527 not found; No message file for product=NETWORK, facility=TNS
这是因为oracle的环境变量没有设置好
重新设置环境变量后问题解决
本文介绍了解决使用PLSql连接Oracle时遇到的ORA-12541错误的方法。通过检查监听服务状态及调整环境变量,最终解决了连接问题。
4570

被折叠的 条评论
为什么被折叠?



