在tnsnames.ora文件里,你怎么配置的
本地起的名字 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = IP地址)(PORT = 端口)) ) (CONNECT_DATA = (SID = orcl) (SERVER = DEDICATED) ) )
用IP地址来区分连接的服务器,用本地起的名字来区分本地使用哪个数据库实例,懂?