Collections:
Use Windows User to Connect to the Server in Oracle
How To Use Windows User to Connect to the Server in Oracle?
✍: FYIcenter.com
During the installation process, 10g XE will create a special Windows user group called ORA_DBA, and put your Windows user into this group. Any Windows users in this group can be connected to Oracle server with SYSDBA privilege without any Oracle server user account. This process is called connecting the server as SYSDBA with OS Authentication. Here is how to do this with a special form of the "connect" command:
(Log in with the same user you used to install 10g XE) >cd (OracleXE home directory) >.\bin\startdb >.\bin\sqlplus /nolog SQL> connect / AS SYSDBA Connected. SQL> quit
So if "connect" is used without user name and password, the current Windows user will be trusted if he/she is in the ORA_DBA user group on the Windows system.
⇒ Show All User Accounts in Oracle
⇐ Use SYS Account to Connect to the Server in Oracle
2019-07-21, 3465🔥, 0💬
Popular Posts:
What are binary literals supported in SQL Server Transact-SQL? Binary literals in Transact-SQL are s...
How To List All Login Names on the Server in SQL Server? If you want to see a list of all login name...
How To Query Tables and Loop through the Returning Rows in MySQL? The best way to query tables and l...
How To Use GO Command in "sqlcmd" in SQL Server? "sqlcmd" is a command line client application to ru...
Where to find reference information and tutorials on MySQL database functions? I want to know how to...