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, 3217🔥, 0💬
Popular Posts:
How To Generate CREATE TABLE Script on an Existing Table in SQL Server? If you want to know how an e...
What Happens If the UPDATE Subquery Returns Multiple Rows in SQL Server? If a subquery is used in a ...
What Happens to Your Transactions When ERROR 1205 Occurred in MySQL? If your transaction receives th...
How to obtain the number of rows found by the last SELECT statement using the FOUND_ROWS() function?...
How To Get Year, Month and Day Out of DATETIME Values in SQL Server Transact-SQL? You can use DATEPA...