我正在尝试将模式从一个数据导出到另一个数据但是我收到此错误:
[oracle@localhost Desktop]$ impdp shishu/shishu@demo directory=data remap_schema=shishu:user2 dumpfile=shishu.dmp logfile=user2.log
Import: Release 11.2.0.1.0 - Production on Wed Mar 2 23:18:57 2016
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
UDI-12170: operation generated ORACLE error 12170
ORA-12170: TNS:Connect timeout occurred
答案 0 :(得分:0)
tnsping demo
命令,如果不起作用,请检查tnsnames
文件SQLNET.INBOUND_CONNECT_TIMEOUT
中的SQLNET.SEND_TIMEOUT
,SQLNET.RECV_TIMEOUT
和sqlnet.ora
更改为更大的值。参考: http://www.dba-oracle.com/t_ora_12170_tns_connect_timeout.htm