本机sqlplus "/ as sysdba" 登录失败?

请看:
C:\Documents and Settings\Administrator.LUDJ.000>sqlplus "/ as sysdba"

SQL*Plus: Release 9.2.0.7.0 - Production on 星期二 3月 7 10:27:14 2006

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

ERROR:
ORA-12560: TNS: 协议适配器错误


请输入用户名:
ERROR:
ORA-12560: TNS: 协议适配器错误


请输入用户名:
ERROR:
ORA-12560: TNS: 协议适配器错误
C:\Documents and Settings\Administrator.LUDJ.000>sqlplus "sys/123456@he as sysdba"

SQL*Plus: Release 9.2.0.7.0 - Production on 星期二 3月 7 10:29:31 2006

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


连接到:
Personal Oracle9i Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production

SQL> exit

为什么一定要采用第二种方式才可以连接数据库?
这是什么原因?

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9375/viewspace-555066/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/9375/viewspace-555066/

你可能感兴趣的:(数据库)