我正在尝试将数据导入 Oracle 数据库。我有用于导入数据的“.imp”和“.dmp”文件。数据库使用端口 1521,数据库名称为“DB”。我尝试了以下命令,但不起作用。
impdp root/password@xxx.xxx.xxx.xxx:1521:DB
dumpfile=transmart.dmp
logfile=transmart.imp
schemas=i2b2hive,i2b2metadata,i2b2sampledata,i2b2demodata,i2b2workdata
,biomart,biomart_user,deapp,searchapp,tm_cz,tm_lz,tm_wz
错误: ORA-12504: TNS:listener is not given the SERVICE_NAME in CONNECT_DATA or ORA-12545: Connect failed because target host or object does not exist
我可以毫无问题地远程登录 IP 和端口。
有人可以建议吗?
谢谢!