Oracle Easy Connect,不同版本db 连接errorORA-12154
今日继exp操作后的imp操作又遇到一错误,tns简单连接居然连接不上。执行如下语句,
[*]imp ***/***@192.168.90.10/orcl file=.....
报错:TNS:destination host unreachable
于是使用一下
[*]$sqlplus ***/***@192.168.90.10/orcl
[*]SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jun 20 12:24:51 2012
[*]
[*]Copyright (c) 1982, 2005, Oracle.All rights reserved.
[*]
[*]ERROR:
[*]ORA-12543: TNS:destination host unreachable
[*]
[*]
[*]Enter user-name:
根据http://tomszrp.itpub.net/post/11835/294062这上面的说法,
我按照sqlplus ***/***@//192.168.90.10/branch方式可以进去。
后来,我发现原来我2边的库不一样,所以用 sqlplus ***/***@192.168.90.10/branch这样的方式报错。
本地是10g库,远程(192.168.90.10)是11g的库。
但是,如果2边库版本一致用sqlplus user/passwd@IP/server方式是可以连进去的。
另外朋友提交,11g新特性:
Create a database link with the new host:port/service syntax
页:
[1]