sqlplus user/password@servicename

解决方案 »

  1.   

    TNS-12154 TNS:could not resolve service name
    Cause: The service name specified is not defined correctly in the
    TNSNAMES.ORA file.
    Action: Make the following checks and correct the error:Verify that a TNSNAMES.ORA file exists and is in the proper place and
    accessible. See the operating system specific manual for details on the
    required name and location.Check to see that the service name exists in one of the TNSNAMES.ORA
    files and add it if necessary.Make sure there are no syntax errors anywhere in the file. Particularly look
    for unmatched parentheses or stray characters. Any error in a
    TNSNAMES.ORA file makes it unusable. See the Oracle9i Net Services
    Administrator’s Guide. If possible, regenerate the configuration files using
    the Oracle Network Manager.
      

  2.   

    sqlplus user/password@servicename 是什么意思?
    监听器没有配置好,或者没有启动。怎么配置?怎么启动?
    上面的英文我实在是看不懂 我的英语4级还没有过
      

  3.   

    可能是你的客户端版本和数据库的版本有差异,你可以装个相同版本的Oracle客户端试试,以前也碰到过相同的问题。
      

  4.   

    安装的时候你是不是改了那个端口。 SQL*PLUS登陆用户名字是system 密码是你安装建立数据库时候自己设定的。。
      

  5.   

    可能是数据库SID吧,学习中...