Troubleshooting of Logon failures when su switches to sqlplus in Oracle, oraclesqlplusProblem description:The oracle database in the production environment suddenly fails to log on, and the oracle database in the rlwrap production environment
[Oracle]sqlplus Start parameter description# su-oracle [Grid]Usage 1:sqlplus-h | -V-H[ELP]:Displays the syntax and usage of the Sql*plus command, and then returns control to the operating system.-v[ersion]:Displays the version number of the Sql*plus,
Use of oracle sqlplus 1. log on to sqlplus www.2cto.com oracle @ omu:> sqlplus/assysdba oracle @ omu:> sqlplus sys/oracle as sysdba 2 as a system administrator. connect to the database (You need to log on to sqlplus first) SQL> conn cgp_1/cgp_1 SQL>
Everyone in the daily work, I think 99% are used to Sqlplus to login database, the database management, tuning, configuration. So if there's a lot of databases, we are connected after all is unified sql>, it is possible that the current does not
The following figure shows two steps for installing the Oracle database server software and client software:
Through the above process, we know that the server and the client have a file to be configured, the server is the listener
Question: In my daily work, I think MySQL plus is used in 99% to log on to the database and manage, optimize, and configure the database. If there are many databases, all of them are unified SQL after connection>, it may happen that we do not know
1. Oracle Installation
Please refer to the following link for more information: http://wenku.baidu.com/view/d01ffd43336c1eb91a375d68.html.
2. Use the command line sqlplus to connect to Oracle
(1) Check the listening status
C: \> LSNRCTL
1. Brief Introduction:
Oracle's Sql*plus is a client tool that interacts with Oracle. In Sqlplus, you can run the Sqlplus command and the Sqlplus statement, and the DML, DDL, and DCL statements that we normally refer to are sqlplus statements that,
frequently used:
Sqlplus Username/password such as: normal user login Sqlplus Scott/tiger
sqlplus username/[email protected]net_service_name such as: Sqlplus Scott/[email protected]
Sqlplus Username/password as SYSDBA: Sqlplus sys/admin as
frequently used:
Sqlplus Username/password such as: normal user login Sqlplus Scott/tiger
sqlplus username/[email protected]net_service_name such as: Sqlplus Scott/[email protected]
Sqlplus Username/password as SYSDBA: Sqlplus sys/admin as
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.