转:https://blog.csdn.net/bieli5211/article/details/82144026
场景:导入用命令dmp文件时报错:无法解析指定的连接标识符
示例:d:\expdp>imp alcmstest/[email protected] file=jeecmsv6new.dmp log=1017.log full=y ignore=y commit=y
错误信息描述:
IMP-00058: 遇到 ORACLE 错误 12154
ORA-12154: TNS: 无法解析指定的连接标识符
IMP-00000: 未成功终止导入
原因:找不到orcl这个实例
解决:直接在orcl前加ip端口
d:\expdp>imp alcmstest/[email protected]:1521/orcl file=jeecmsv6new.dmp l
og=1017.log full=y ignore=y commit=y
导入导出:
imp system/[email protected] full=y file=database.dmp ignore=y
exp system/[email protected] full=y file=./database.dmp
原文地址:https://www.cnblogs.com/milude0161/p/11177703.html
时间: 2024-10-13 23:00:50