oracle12c - SQL*Loader-704 and ORA-12154 -


sqlldr "xxxx/xxxx@yyyyyxxxx" control=/home/local/internal/xxxxx/presc_sqlldr_file/presc_sqlldr.ctl log=/home/local/internal/xxxxx/presc_sqlldr_file/presc_log.log data=home/achand/presc_sqlldr_file/presc_sqlldr.ctl 

whenever i'm trying execute sqlldr i'm getting below error

sql*loader-704: internal error: ulconnect: ociserverattach [0] ora-12154: tns:could not resolve connect identifier specified 

i tried tnsping yyyyyxxxx

i got below error

tns-03505: failed resolve name

tnsnames.ora contain

ddcppsd.world =   (description =     (address = (protocol = tcp)(host = xxxxxyyy)(port = 1521))     (connect_data =       (server = dedicated)       (sid = yyyyyxxxx)     )   ) 

this error explains it. not specify connect string, username , password. therefore, oracle tries connect local database. must specify username/password@connect_string, connect_string name correspionding entry in client side file tnsnames.ora (same connect string use in sql developer).


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -