Collections:
Login to Server without an Instance in Oracle
How To Login to the Server without an Instance in Oracle?
✍: FYIcenter.com
If your default instance is in trouble, and you can not use the normal login process to reach the server, you can use a special login to log into the server without any instance. Here is how to use SQL*Plus to log in as a system BDA:
>cd (OracleXE home directory) >.\bin\startdb >.\bin\sqlplus Enter user-name: SYSTEM/fyicenter AS SYSDBA Connected to an idle instance SQL> show instance instance "local"
The trick is to put user name, password and login options in a single string as the user name. "AS SYSDBA" tells the server to not start any instance, and connect the session the idle instance.
Log in as SYSDBA is very useful for performing DBA tasks.
⇒ Start the Default Instance in Oracle
⇐ StartDB.bat Failed to Start the XE Instance in Oracle
2020-09-15, 2853🔥, 0💬
Popular Posts:
What Are Date and Time Functions in MySQL? MySQL offers a number of functions for date and time valu...
How To Start Instance with a Minimal Initialization Parameter File in Oracle? The sample initializat...
How To Connect the Oracle Server as SYSDBA in Oracle? This is Step 4. The best way to connect to the...
How to put statements into a statement block in SQL Server Transact-SQL? You can put statements into...
How to execute statements under given conditions in SQL Server Transact-SQL? How to use IF ... ELSE ...