标签:
如果用11g的客户端,然后通过odbc(远程连接)连接10g的oracle,会出现监听程序无法启动(ORA-12541: TNS: 无监听程序)
此时需要在客户端目录中D:\instantclient_11_2 加入tnsnames.ora文件。在该文件中相应内容:
test =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 120.120.9.4)(PORT = 1521))
)
(CONNECT_DATA =
(SID = test1)
(SERVER = DEDICATED)
)
)
如此,odbc可以连上10g oracle
标签:
原文地址:http://www.cnblogs.com/wflxz/p/5336525.html