OS:xp
oracle :9i 2
sqlplus conn scott/tiger@kailiao;
登录不上,只显示下面的帮助信息
G:\Documents and Settings\netgy>sqlplus conn scott/tiger@kailiao
用法: SQLPLUS [ [<option>] [<logon>] [<start>] ]
其中 <option> ::= -H | -V | [ [-L] [-M <o>] [-R <n>] [-S] ]
     <logon>  ::= <username>[/<password>][@<connect_string>] | / | /NOLOG
      <start>  ::= @<URI>|<filename>[.<ext>] [<parameter> ...]
        "-H" 显示 SQL*Plus 的版本标帜和使用语法
        "-V" 显示 SQL*Plus 的版本标帜
"-L" 只尝试登录一次
        "-M <o>" 使用 HTML 标志选项 <o>
        "-R <n>" uses restricted mode <n>
        "-S" uses silent mode

解决方案 »

  1.   

    sqlplus / as sysdba;sqlplus scott/tiger@orcl;
      

  2.   

    也可以分两步做
    sqlplus /nolog;
    conn scott/tiger@orcl;
      

  3.   


    G:\Documents and Settings\netgy>sqlplus scott/tiger@KAILIAO;SQL*Plus: Release 9.2.0.1.0 - Production on 星期四 12月 25 17:07:47 2008Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.ERROR:
    ORA-12154: TNS: 无法处理服务名在sql*plus下可以登录啊,我检查了,应该没写错啊
      

  4.   

    sqlplus scott/tiger@KAILIAO; 
    后面多了个分号
    改成:
    sqlplus scott/tiger@KAILIAO我打分号习惯了,现在聊msn完了换行前都打个分号;
    不好意思;