设为首页 加入收藏

TOP

sqlplus登录问题
2015-07-24 10:30:50 来源: 作者: 【 】 浏览:1
Tags:sqlplus 登录 问题

问题1.sqlplus login -- SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory

在/etc/profile最后添加:?

export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
export PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:$PATH
source /etc/profile

问题2.

Enter user-name: system
Enter password:
ERROR:
ORA-12162: TNS:net service name is incorrectly specified

解决方式:sqlplus 添加上实例名,如下所示

sqlplus system/Hello54987663@localhost:1521/orcl

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Mysql网络断开重连问题 下一篇“消息7314,级别16.."不包..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·TCP/UDP协议_百度百科 (2025-12-26 12:20:11)
·什么是TCP和UDP协议 (2025-12-26 12:20:09)
·TCP和UDP详解 (非常 (2025-12-26 12:20:06)
·Python 教程 - W3Sch (2025-12-26 12:00:51)
·Python基础教程,Pyt (2025-12-26 12:00:48)