The Oracle user password contains special characters, which makes sqlplus unable to log on normally.

Source: Internet
Author: User

Today I encountered a strange problem:

Using sqlplus on the client allows normal users to log on, but neither system nor sys users can log on, prompting ORA-12154: TNS: unable to resolve the specified connection identifier

[@ More @] SQL> conn system @ webdata
Enter the password:
ERROR:
ORA-12154: TNS: Unable to parse the specified connection identifier

SQL> conn xgplat @ webdata
Enter the password:
Connected.

I thought the client was a 32-bit server. I used sqlplus to log on to the Oracle server.

SQL> conn system @ webdata
Enter password:
ERROR:
ORA-12541: TNS: no listener

SQL> conn xgplat @ webdata
Enter password:
Connected.

I asked some people who are confused and confused about the problem. When someone said it was related to the password file, I thought that the password of my system/sys user contains a @ character.

For example, if my password is 123 @ 456, you can use sqlplus to Log On As sqlplus system/123 @ 456 @ webdata, in this way, sqlplus is understood as the connection string of the database after 123. In this way, an error is reported and a prompt is displayed, indicating that the specified connection identifier or no listener cannot be resolved.

After logging on to the server with sqlplus/as sysdba, change the password of sys/system and try again.

Logon problems when the Oracle user password contains special characters

Install Oracle 11gR2 (x64) in CentOS 6.4)

Steps for installing Oracle 11gR2 in vmwarevm

Install Oracle 11g XE R2 In Debian

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.