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, 3103🔥, 0💬
Popular Posts:
How To Insert New Line Characters into Strings in SQL Server Transact-SQL? If you want to break a st...
How to download and install SQL Server 2005 Sample Scripts in SQL Server? If you want to learn from ...
How to convert a JSON (JavaScript Object Notation) quoted string into a regular character string usi...
What Privilege Is Needed for a User to Delete Rows from Tables in Another Schema in Oracle? For a us...
How To List All User Names in a Database in SQL Server? If you want to see a list of all user names ...