C:\Users\Administrator>imp system/Admin123456@orcl fromuser=system touser=system
 file=c:\20120302.dmpImport: Release 11.2.0.1.0 - Production on 星期三 3月 7 14:18:53 2012Copyright (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 optionsIMP-00037: 未知字符集标记
IMP-00000: 未成功终止导入C:\Users\Administrator>imp system/Admin123456@orcl fromuser=system touser=system
 file=c:\20120302.dmpImport: Release 11.2.0.1.0 - Production on 星期三 3月 7 14:18:58 2012Copyright (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 optionsIMP-00037: 未知字符集标记
IMP-00000: 未成功终止导入C:\Users\Administrator>impImport: Release 11.2.0.1.0 - Production on 星期三 3月 7 14:19:07 2012Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.用户名:
口令:IMP-00058: 遇到 ORACLE 错误 12560
ORA-12560: TNS: 协议适配器错误
IMP-00000: 未成功终止导入

解决方案 »

  1.   

    现在又出现了这个情况:C:\Users\Administrator>Imp system/Admin123456@orcl file=c:\20120302.dmp fromuse
    r=sys touser=systemImport: Release 11.2.0.1.0 - Production on 星期三 3月 7 15:10:43 2012Copyright (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 optionsIMP-00002: 无法打开 c:/20120302.dmp 进行读取
    导入文件: EXPDAT.DMP> c:/20120302.dmpIMP-00037: 未知字符集标记
    IMP-00000: 未成功终止导入高手帮帮忙吧?
      

  2.   

    你在导出的时候 需要设置一下本次会话的字符集 export nls_lang=你的数据库的字符集 
    windows下 用set nls_lang=..
      

  3.   

    但是现在我只有导出的文件了,原来的数据库崩溃了,老连接不上,连接上了,很快就又断开了。需要重新在连接。高手知道怎么把dmp格式的备份数据库还原到oracle数据库中吗?
      

  4.   

    本机也是出现像同情况。所以还是那个问题:怎么把dmp格式的备份数据库还原到oracle数据库中吗?
      

  5.   

    检查下做exp导出时是否成功了,有可能是导出失败或者文件被破坏的问题。
      

  6.   

    你新建一个scheme然后赋一下权限,然后把这个dmp到这个scheme试试!