首页 > 数据库 > mysql教程 > IMP-00013只有DBA才能导入由其他DBA导出的文件

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
发布: 2016-06-07 15:55:39
原创
1825 人浏览过

--实例演示---system用户导出C:\Users\ZMLexp system/zml file=D:\zml.dmp log = D:\zml.log tables = (zml)Export: Release 11.2.0.1.0 - Production on 星期一 4月 21 21:39:12 2014Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights r

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

--实例演示

---system用户导出

C:\Users\ZML>exp system/zml file='D:\zml.dmp' log = 'D:\zml.log' tables = (zml)

 

Export: Release 11.2.0.1.0 - Production on 星期一 4月 21 21:39:12 2014

 

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

 

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

已导出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集

 

即将导出指定的表通过常规路径...

. . 正在导出表                             ZML导出了           0 行

成功终止导出, 没有出现警告。

 

C:\Users\ZML>

------scott用户导入-------------------

C:\Users\ZML>imp scott/zml file='D:\zml.dmp' log = 'D:\zml1.log' full = y

 

Import: Release 11.2.0.1.0 - Production on 星期一 4月 21 21:57:40 2014

 

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

 

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

 

经由常规路径由 EXPORT:V11.02.00 创建的导出文件

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

IMP-00000: 未成功终止导入

 

C:\Users\ZML>

--------给scott用户dba授权限--------------------

SQL> grant dba to scott

  2  ;

 

授权成功。

 

SQL>

-------scott用户导入---------------

C:\Users\ZML>imp scott/zml file='D:\zml.dmp' log = 'D:\zml1.log' full = y

 

Import: Release 11.2.0.1.0 - Production on 星期一 4月 21 22:04:39 2014

 

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

 

 

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

 

经由常规路径由 EXPORT:V11.02.00 创建的导出文件

 

警告: 这些对象由 SYSTEM 导出, 而不是当前用户

 

已经完成 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集中的导入

. 正在将 SYSTEM 的对象导入到 SCOTT

. 正在将 SYSTEM 的对象导入到 SCOTT

. . 正在导入表                           "ZML"导入了           0 行

成功终止导入, 没有出现警告。

 

C:\Users\ZML>

登录后复制
相关标签:
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板