错误描述:
localhost->oracle$ imp user/password@实例名 full=y file=/home/xxxxx.dmp ignore=n
Import: Release 11.2.0.4.0 - Production on Tue Jan 5 17:14:28 2021
Copyright © 1982, 2011, Oracle and/or its affiliates.
All rights reserved.
IMP-00058: ORACLE error 12541 encountered
ORA-12541: TNS:no listener
IMP-00000: Import terminated unsuccessfull
根据说修改listener.ora和tnsnames.ora里面的host改成ip,但修改了还是不行。
先记录下,找到解决方案再来写。
分割线…………………………
解决方案:补全数据库地址
imp user/password@192.xx.xx.xx:1521/实例名 full=y file=/home/xxxx.dmp ignore=n