由于某些原因,我能够连接到第一个数据库(见下文),但不能连接到MS Access上的第二个数据库。这是tnsnames.ora
FC_P.WORLD =
(DESCRIPTION =
(LOAD_BALANCE=off)
(FAILOVER=on)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = fcp) (PORT = 1575))
(ADDRESS = (PROTOCOL = TCP)(HOST = fcp2)(PORT = 1575))
)
(CONNECT_DATA =
(SID = xtr)
)
)
mac_P.WORLD =
(DESCRIPTION =
(LOAD_BALANCE=off)
(FAILOVER=on)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xfcscan) (PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = xcom_o)
)
)
为了成功连接,我输入了FC_P.WORLD到TNS服务名称和我的登录凭据,并且能够连接。但是,使用mac_P.WORLD和那些相应的凭据不起作用。发生了什么事?
运行
SELECT * FROM v$VERSION;
显示其中一个数据库版本具有以下属性:“TNS for Solaris”,而另一个具有“TNS for Linux”