I have set of new boxes where I need to take a copy of export , All of this machines have system user password with complex stuff like@ etc..
Ex:
expdp system/yada@yada1233*something @hostname:portnumber/servicename
schemas=soso directory=xyz dumpfile=mydump.dmp logfile=mylog.log
ERROR: UDE-12154:opertion generated oracle error 12154 ORA-12154:TNS:could not resolve the connect identifier specified
Yeah I know this looks like service name resolution issue but tnsping looks good and is able to resolve I believe this has to do with password having @I have tried putting the password in double quotes adding escape character to special characters etc but none work any guidance would be great
Also I tried with user that don't have special characters it works fine
edit : As Suggested here are things I tried and didn't work and still threw the same error
expdp system/'yada@yada1233*something' @hostname:portnumber/servicename
schemas=soso directory=xyz dumpfile=mydump.dmp logfile=mylog.log
expdpsystem/"yada@yada1233*something*"@hostname:portnumber/servicename schemas=soso directory=xyz dumpfile=mydump.dmp logfile=mylog.log
expdp system/\"yada@yada1233*something\" @hostname:portnumber/servicename
schemas=soso directory=xyz dumpfile=mydump.dmp logfile=mylog.log
expdp system/"yada\@yada1233\*something" @hostname:portnumber/servicename
schemas=soso directory=xyz dumpfile=mydump.dmp logfile=mylog.log
Example 1
Example 2