【ORACLE】导入dmp文件问题解决

背景:oracle导入test.dmp文件

Navicat数据泵导入报错:

ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-39143: dump file “test.dmp” may be an original export dump file

impdp导入报错

sql:

create directory 目录变量名 as '目录路径';

grant read,write on directory 目录变量名 to 用户名;

LINUX命令:

impdp 用户名/密码  directory=目录变量名 dumpfile=mes20220705_03014.dmp full=y table_exists_action=replace logfile=import.log

报错:

ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-29283: invalid file operation
ORA-06512: at “SYS.UTL_FILE”, line 536
ORA-29283: invalid file operation

解决办法

linux命令

imp 用户名/密码  file=test.dmp full=y  log=import.log

原问题:https://stackoverflow.com/questions/42373919/errors-on-importing-oracle-backup

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值