【发布时间】:2021-11-09 13:08:03
【问题描述】:
我正在尝试使用 Oracle Cloud Autonomous 数据库上的数据泵导出架构。
我正在使用 Cloud Shell 导出架构。
当我尝试做最后一步时:
expdp admin/password@DB_HIGH schemas=SCHEMA_NAME directory=data_pump_dir dumpfile=exp%U.dmp filesize=1G logfile=expot.log
我明白了
UDE-12154: operation generated ORACLE error 12154 ORA-12154:
TNS:could not resolve the connect identifier specified
我需要 Oracle 即时客户端进行导出吗?
【问题讨论】:
-
您的密码中是否有空格,或者可能是美元符号(恰好后面是字符而不是使用环境变量);还是您在密码和 TNS 别名之间引入了一个空格?
-
密码包含数字和“!”签到
-
好的,pling 可能是问题所在 - 它可能是从您的 shell 历史记录中替换了一个命令(带有空格)。如果您使用实际密码“回显密码”,您应该看到它是如何扩展/替换的。可以
set +H再试一次吗? -
我更改了密码,现在我得到了 UDE-12154: operation generated ORACLE error 12154 ORA-12154: TNS:could not resolve the connect identifier specified
-
我可以连接同一个 tns 条目
标签: oracle oracle-cloud-infrastructure datapump expdp oracle-cloud-shell