Question

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?

Was it helpful?

Solution

more than likely, you granted:

grant import full database to YOURUSER;

instead grant:

grant imp_full_database to YOURUSER;

OTHER TIPS

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

You could use the following code:

grant datapump_imp_full_database to USER;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top