Chinaunix首页 | 论坛 | 博客
  • 博客访问: 374276
  • 博文数量: 113
  • 博客积分: 3035
  • 博客等级: 中校
  • 技术积分: 1430
  • 用 户 组: 普通用户
  • 注册时间: 2006-11-01 16:32
文章分类
文章存档

2011年(42)

2010年(70)

2009年(1)

我的朋友

分类: Oracle

2011-05-24 20:32:02

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.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.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





阅读(1505) | 评论(0) | 转发(0) |
0

上一篇:数据库监控工具grid

下一篇:two_task和TTC

给主人留下些什么吧!~~