Docker安装Oracle12C,导入dmp文件出现ORA-12170错误


oracle版本为 sath89/oracle-12c

oracle基本信息

hostname: localhost
port: 1521
sid: xe
username: system
password: oracle

imp yyy/yyy@xe file=/test.dmp full=y 出现了错误:

IMP-00058: 
ORACLE error 12170 encountered 
ORA-12170: TNS:Connect timeout occurred 
IMP-00000: Import terminated unsuccessfully

原因是 oracle添加了ORACLE_SID环境变量,imp命令中去掉@xe就可以了。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM