IMP-00013: 只有 DBA 才能導入由其他 DBA 導出的文件

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options


Export file created by EXPORT:V10.02.01 via conventional path
IMP-00013: only a DBA can import a file exported by another DBA

IMP-00000: Import terminated unsuccessfully


解決方案:以DBA登陸target DB,給用來導入的賬號GRANT IMP_FULL_DATABASE 


GRANT IMP_FULL_DATABASE to XXXX;


.................

About to enable constraints...
Import terminated successfully without warnings.


源DB中XXXX用戶有exp_full_database權限,這個例子也說明,有了exp_full_database,即使只是導出了自己的表,在導入時也必須要有IMP_FULL_DATABASE的權限。

於是回來源DB去把這個權限收回來,這個用戶確實也不需要這個權限。

SQL> revoke exp_full_database,imp_full_database from XXXX;


Revoke succeeded.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章