Sqlplus different effects of two sign-in modes

Source: Internet
Author: User
Tags sqlplus

Windows 8,oralce11g, command-line

1. Input "Sqlplus", enter, prompt: Please enter user name, enter user name, return, prompt, enter password, enter password, return, Report ora-12560:tns: Protocol Adapter error

2. Enter "Sqlplus username/password @sid", enter, Prompt "Connect to: Oracle Database 11g Release 11.2.0.1.0-64bit Production".

What is the difference between the two mechanisms?

Someone online says:

"Encounter the same situation: with C:\>sqlplus" User/[email protected] "This way you can log in, but directly run Sqlplus and then enter the user name password will prompt the protocol adapter error. Tried online a lot of methods, now finally solved, is the environment variable path value there problem, I installed the server and the client, in the path value there to put the server address in front of the client is good. such as this: D:\oracle\product\11.2.0\dbhome_1\bin;d:\oracle\product\11.2.0\client_1\bin; C:\Program Files\arcgis\arcsde\ora11gexe\bin; "

Try to change position, it has no effect. I did not install the server, only installed the client, and the above situation is not quite consistent.

Pending study.

Sqlplus different effects of two sign-in modes

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.