免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1022 | 回复: 0
打印 上一主题 下一主题

主机上多版本oracle的sqlplus连接问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-12-21 08:44 |只看该作者 |倒序浏览
windows xp环境
事先装了9i,配置了库lin
之后安装了10g,配置了库auxi

现在想连接到lin库
C:\Documents and Settings\ll>set oracle_sid=lin

C:\Documents and Settings\ll>sqlplus "/as sysdba"
Error 6 initializing SQL*Plus
Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory

C:\Documents and Settings\ll>d:

D:\>cd D:\oracle\ora92\bin

D:\oracle\ora92\bin>set ORACLE_HOME="D:\oracle\ora92\bin"

D:\oracle\ora92\bin>sqlplus "/as sysdba"
Error 6 initializing SQL*Plus
Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory

这里正确的设置了oracle_home后就可以连接了
D:\oracle\ora92\bin>set ORACLE_HOME=D:\oracle\ora92\

D:\oracle\ora92\bin>sqlplus "/as sysdba"

SQL*Plus: Release 9.2.0.1.0 - Production on 星期二 5月 24 19:48:48 2011

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.


连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options





您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP