ITeye博客

MP-00058: 遇到 ORACLE 错

pterodactyl · 2011-01-25 10:15 · oracle · 数据库 · Markdown

MP-00058: 遇到 ORACLE 错误 12560问题 收藏 | 分类: 数据库技术 | 查看: 29 | 评论(0) 标签: 系统运维 通过imp命令导入oralce数据库备份的数据, 在cmd运行命令后,输入 C:>imp 帐号/密码 Import: Release 10.1.0.2.0 - Production on 星期四 10月 25 17:57:04 2007 Copyright (c) 1982, 2004, Oracle. All rights reserved.

IMP-00058: 遇到 ORACLE 错误 12560 ORA-12560: TNS: 协议适配器错误 IMP-00000: 未成功终止导入

 遇到这个问题后,很多人会认为是本地服务名的原因,但经过测试,发现服务名是正常的。如果服务名和监听文件的配置都是正确的,应该用以下方法解决;

解决办法: 运行命令: C:>set Oracle_SID=实例名 {linux用命令: export Oracle_SID=实例名} C:>imp fjtmap/123456 Import: Release 10.1.0.2.0 - Production on 星期四 10月 25 17:59:11 2007 Copyright (c) 1982, 2004, Oracle. All rights reserved.

连接到: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.1.0 - Production 导入文件: EXPDAT.DMP> c:\201009.dmp 就可以了。

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。