Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Logging into sqlplus with special characters in password

bentomasiniOct 19 2007 — edited Oct 22 2007
I am stuck with a situation where one of our servers was setup with special characters in the password, namely the characters '@' and '!'. This is preventing sqlplus from accepting my connection string, specifcically:

sqlplus ben/p@ssword\!@ORCL

(Bash needs the '!' escaped out with '\')

I get the error:
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified

Is there a way to escape out these characters for SQLPLUS?

Ben
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2007
Added on Oct 19 2007
13 comments
56,040 views