ORA-39122: Unprivileged users may not perform REMAP_SCHEMA remappings

半城伤御伤魂 提交于 2020-01-02 02:32:31

问题


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 ?


回答1:


more than likely, you granted:

grant import full database to YOURUSER;

instead grant:

grant imp_full_database to YOURUSER;



回答2:


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



回答3:


You could use the following code:

grant datapump_imp_full_database to USER;


来源:https://stackoverflow.com/questions/14397668/ora-39122-unprivileged-users-may-not-perform-remap-schema-remappings

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!