Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ORA-39122: Unprivileged users may not perform REMAP_SCHEMA remappings

When I'm trying to run impdp command in sqlplus, I got below error.

ORA-31631: privileges are required

ORA-39122: Unprivileged users may not perform REMAP_SCHEMA remappings.

I have granted IMPORT FULL DATABASE privileged to schema which I'm trying to import. but I'm getting above error.

How could I solve this?

like image 282
Bishan Avatar asked Jan 18 '13 11:01

Bishan


2 Answers

more than likely, you granted:

grant import full database to YOURUSER;

instead grant:

grant imp_full_database to YOURUSER;
like image 72
DazzaL Avatar answered Jan 04 '23 02:01

DazzaL


grant imp_full_database to YOURUSER;

will solve the issue , you will need to do it from a privileged DBA account or else you will get the below error

ORA-01919: role 'IMP_FULL_DATABASE' does not exist
like image 24
abhi Avatar answered Jan 04 '23 00:01

abhi