我在两台机器上装了 oracle 10g   ip为1/218.198.238.22          2/218.198.238.250 
数据库名都是oracle 1/的实例名为oracle       2/的实例名为smallant高手帮忙

解决方案 »

  1.   

    C:\>sqlplus "sys/system@test_192.168.80.38 as sysdba"SQL*Plus: Release 9.2.0.1.0 - Production on 星期五 4月 25 15:18:04 2008Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    连接到:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - ProductionSQL>test_192.168.80.38 替换成你的 tnsnames.ora 里面的连接串,比如oracle_218.198.238.22
    和smallant_218.198.238.250  
      

  2.   

    conn user/password@服务名;具体的服务名你应该用net manager来配置配置好后在tnsnames.ora里可以看出来
      

  3.   

    tnsnames.ora 文件用ip地址来区分两台服务器就可以了
      

  4.   

    tnsnames.ora配置两个不同信息就可以了
      

  5.   

    tnsnames.ora配置两个不同信息就可以了