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