oracle 导出12154,EXPDP导出时报错ORA-12154

oracle 导出12154,EXPDP导出时报错ORA-12154一、问题描述做数据迁移时报错ORA-12154[[emailprotected]~]$expdpzrd/[emailprotected]directory=DATA_PUMP_DIRdumpfile=20180314TJJbak.dmplogfile=20180314TJJbak.logschemas=TJJExport:Release11.2.0.4.0-Product…

大家好,又见面了,我是你们的朋友全栈君。

一、问题描述

做数据迁移时报错ORA-12154

[[email protected] ~]$ expdp zrd/[email protected] directory=DATA_PUMP_DIR dumpfile=20180314TJJbak.dmp logfile=20180314TJJbak.log schemas=TJJ

Export: Release 11.2.0.4.0 – Production on Wed Mar 14 10:28:55 2018

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

UDE-12154: operation generated ORACLE error 12154

ORA-12154: TNS:could not resolve the connect identifier specified

–字符串没错,tns文件也没问题

二、检查语句后发现是没写IP地址

三、解决方案

将数据泵导出语句写完整

[[email protected] admin]$ expdp zrd/[email protected]/qianz directory=DATA_PUMP_DIR dumpfile=20180314TJJbak.dmp logfile=20180314TJJbak.log schemas=TJJ;

Export: Release 11.2.0.4.0 – Production on Wed Mar 14 10:32:39 2018

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 – 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsFLASHBACK automatically enabled to preserve database integrity.Starting “ZRD”.”SYS_EXPORT_SCHEMA_01″: zrd

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/161576.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号