从命令上导入数据库脚本123.dmp文件时,出现了以下错误,各位高手帮忙看看怎么回事?

依米星灿 2012-03-07 02:47:13

C:\Users\Administrator>imp system/Admin123456@orcl fromuser=system touser=system
file=c:\20120302.dmp

Import: Release 11.2.0.1.0 - Production on 星期三 3月 7 14:18:53 2012

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

IMP-00037: 未知字符集标记
IMP-00000: 未成功终止导入

C:\Users\Administrator>imp system/Admin123456@orcl fromuser=system touser=system
file=c:\20120302.dmp

Import: Release 11.2.0.1.0 - Production on 星期三 3月 7 14:18:58 2012

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

IMP-00037: 未知字符集标记
IMP-00000: 未成功终止导入

C:\Users\Administrator>imp

Import: Release 11.2.0.1.0 - Production on 星期三 3月 7 14:19:07 2012

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

用户名:
口令:

IMP-00058: 遇到 ORACLE 错误 12560
ORA-12560: TNS: 协议适配器错误
IMP-00000: 未成功终止导入
...全文
295 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
kai27ks 2012-04-01
  • 打赏
  • 举报
回复
数据库连接不上就先检查下数据库的问题!看是不是系统表空间满。进程达到最大数。控制文件异常等等!
weihg 2012-04-01
  • 打赏
  • 举报
回复
你新建一个scheme然后赋一下权限,然后把这个dmp到这个scheme试试!
sxq129601 2012-03-07
  • 打赏
  • 举报
回复
是不是2个库版本不同啊
cowboyhn 2012-03-07
  • 打赏
  • 举报
回复
检查下做exp导出时是否成功了,有可能是导出失败或者文件被破坏的问题。
依米星灿 2012-03-07
  • 打赏
  • 举报
回复
本机也是出现像同情况。所以还是那个问题:怎么把dmp格式的备份数据库还原到oracle数据库中吗?
Mickey 2012-03-07
  • 打赏
  • 举报
回复
到本机上去做!
依米星灿 2012-03-07
  • 打赏
  • 举报
回复
但是现在我只有导出的文件了,原来的数据库崩溃了,老连接不上,连接上了,很快就又断开了。需要重新在连接。高手知道怎么把dmp格式的备份数据库还原到oracle数据库中吗?
kai27ks 2012-03-07
  • 打赏
  • 举报
回复
你在导出的时候 需要设置一下本次会话的字符集 export nls_lang=你的数据库的字符集
windows下 用set nls_lang=..
依米星灿 2012-03-07
  • 打赏
  • 举报
回复
现在又出现了这个情况:C:\Users\Administrator>Imp system/Admin123456@orcl file=c:\20120302.dmp fromuse
r=sys touser=system

Import: Release 11.2.0.1.0 - Production on 星期三 3月 7 15:10:43 2012

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

IMP-00002: 无法打开 c:/20120302.dmp 进行读取
导入文件: EXPDAT.DMP> c:/20120302.dmp

IMP-00037: 未知字符集标记
IMP-00000: 未成功终止导入

高手帮帮忙吧?

3,491

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 高级技术相关讨论专区
社区管理员
  • 高级技术社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧