我正在运行Windows 7 64 位,使用适用于 Windows 64 位的 Oracle DB 11g R2。我将 Oracle SQL Developer Release 3.0 (4.0.2.15.21) 作为我的数据库的 GUI。
我按照这篇文章中关于如何导入 Oracle .DMP 文件的说明进行操作。我在命令提示符中发出了这个命令:C:\>imp sys@dev/password12345 FROMUSER=FOOADMIN TOUSER=FOOADMIN file=c:\fooadmin.dmp full=yes
然后它提示我输入密码,我在其中输入正确的密码,然后收到此错误:
IMP-00058: ORACLE error 12154 encountered
ORA-12154: TNS:could not resolve the connect identifier specified
IMP-00000: Import terminated unsuccessfully
Run Code Online (Sandbox Code Playgroud)
Actual Question: How do I fix this error and be able to import the .dmp file successfully? Or what are some steps I can head towards to potentially …