SQL> exp sys/sys file=/home/oracle/sys.dmp full=y
Export: Release 11.2.0.3.0 - Production on Wed Apr 30 16:53:47 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
EXP-00056: ORACLE error 6550 encountered
ORA-06550: line 1, column 15:
PLS-00201: identifier 'SYS.DBMS_EXPORT_EXTENSION' must be declared
ORA-06550: line 1, column 15:
PL/SQL: Statement ignored
EXP-00000: Export terminated unsuccessfully
执行安全加固后部分权限丢失;
通过以下方法解决:
GRANT EXECUTE ON SYS.DBMS_DEFER_IMPORT_INTERNAL TO <user_name>;
GRANT EXECUTE ON SYS.DBMS_EXPORT_EXTENSION TO <user_name>;
本文记录了一次使用Oracle 11.2.0.3版本进行数据导出时遇到的ORA-06550及EXP-00056错误,并提供了相应的解决方案,涉及到权限丢失及授予执行权限的方法。

759

被折叠的 条评论
为什么被折叠?



