sqlplus / as sysdba - how it works

When connect us as

sqlplus / as sysdba

connect us as user SYS, but how no user name or password is given, but still we log on as user SYS?

There is no problem, but my question is if I give the oracle sysdba privileges $ ops, should I logged under oracle not sys...
(correct me if I'm wrong :(

Try to query
SELECT * FROM V$ PWFILE_USERS;

You will see the user SYS will be give SYSDB privs, so everything you create or login. (.in your oracle of $ ops cases), but when you are login "* as sysdba * ', you will be connected as SYS.
:)

Tags: Database

Similar Questions

  • sqlplus / as sysdba don't work anymore after upgrade to 11R2

    Hello

    I just upgrade my 2 cluster nodes to 11R2 under window 2003 10.2.0.4.

    My group and my startup of the database without problem.

    The only problem, I'm not able to open a sqlplus with / as sysdba.

    If I connect with a listener (aka in the tnsname) I can access my database.

    In local mode, it is not possible (it's like I can't use my sqlplus in local mode).

    I have this message

    ERROR:
    ORA-12557: TNS:protocol adapter not loadable

    in my sqlnet.ora file, I always have the option AUTHENTICATION_SERVICES = (NTS)
    and my sqlplus associated new directory (11 GR 2). If I do a tnsping, I see that the new directory useless.

    I think I'm really into the problem and I do not see the solution, I need someone to another vision


    What can be my problem?

    Thank you

    After upgrade, you have now (at least temporarily) 2 ORACLE_HOMEs. ORA-12557 occurs when the version of the executable file and default ORACLE_HOME are not the same, that is, call you sqlplus 10g 11g ORACLE_HOME or vice versa.
    Make sure you only use sqlplus 11g and 11g ORACLE_HOME (YES ==> products installed ==> environment, moving % ORACLE_HOME % upward).

    Werner

  • sqlplus / as sysdba

    I am faced with the following question:

    On a database of eBS 11.1 data, I see that all known "sqlplus / as sysdba ' does not work, he responds with: become insufficient

    I have the password and as far as I can see, so the SYS password gets validated positively, but then he says I have to use the SYSDBA role to login as SYS, and that's the problem.

    So, I'm looking for a solution for this problem. Maybe if I can connect as SYS, but WITHOUT the SYSDBA role, which can solve the problem as well.

    What happened to cause this (because it must have worked in a first time), there was a database upgrade, which may have been the cause of this problem.

    The eBS environment is a Vision 12.1.3

    It is not a production, or a copy of a production database (to be clear about this)

    PL see the troubleshooting steps in MOS Docs 761830.1 and 730067.1

    HTH
    Srini

  • How to activate the connection with sqlplus / as sysdba?

    Hello

    I downloaded the virtual appliance of the developer day since that's Developer Day - hands-on data application development

    Connection with sqlplus sys/oracle as a sysdba work

    But for our scripts, I need to connect to sqlplus / as sysdba (os user's oracle).

    If I try to open a session with / as sysdba I get this:

    [oracle@localhost ~]$ sqlplus / as sysdba
    
    SQL*Plus: Release 12.1.0.2.0 Production on Tue Nov 3 02:13:34 2015
    
    Copyright (c) 1982, 2014, Oracle.  All rights reserved.
    
    ERROR:
    ORA-01017: invalid username/password; logon denied
    
    
    Enter user-name: 
    

    How can I activate the oracle user to login with / as sysdba?

    Thank you

    Al

    It seems that I found the solution:

    http://www.stojanveselinovski.com/blog/2014/07/07/Oracle-12C-developer-days-VM/

    Very funny this TWO_TASK / ORACLE_SID. :-)

    CurrentY I can connect to sqlplus / as sysdba - I'm going to restore the virtual machine and try again if this is really the solution. :-)

  • How to put a password on sqlplus / as sysdba

    Hi guys,.
    Is it possible to put a password when you connect to sqlplus using sysdba?

    ex: sqlplus / as sysdba

    This will directly connect you to sqlplus.

    Kind regards

    Dexter

    Edit the sqlnet.ora

    $ORACLE_HOME/network/admin/sqlnet.ora
    #sqlnet.authentication_services = none

  • sqlplus / as sysdba not connect after oracle xe name sid and service change

    Hello

    I changed the SID and Service name of Oracle XE "XE" to "CTR".
    After that, I couldn't connect is no longer at the "sqlplus / as sysdba.
    ERROR:
    ORA-12560: TNS:protocol adapter error

    My tnsnames.ora:
    CTR =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = ng-w2405ztfio0d)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = CTR)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )

    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
    )
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    )
    )

    My listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (SID_NAME = CTR)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP) (HOST = ng-w2405ztfio0d)(PORT = 1521))
    )
    )

    DEFAULT_SERVICE_LISTENER = (CTR)

    Help me please
    I thank

    Hello

    Yes, the host is Windows Server 2003.
    I created a new service for the new SID. Followed all the steps to make the change

    How did you create the Oracle database Service? Have you used ORADIM to remove and create the new Instance?

    http://download.Oracle.com/docs/CD/B19306_01/win.102/b14304/create.htm#i1006533

    If you have created the new OracleServicePRTLservice, check who is started correctly.

    Then try a connection as follows from a DOS window:

    set ORACLE_SID=PRTL
    sqlplus / nolog
    connect / as sysdba
    

    Hope this helps.
    Best regards
    Jean Valentine

  • sqlplus / as sysdba with insufficient privileges error

    I installed Oracle 10.2.0.1 on Windows XP. I then installed 10g Release 2 (10.2.0.4) Patch Set 3 for Microsoft Windows (32-bit). I imported a database using pump data and then tried to connect in Windows XP box so I could change the sys using password:
    sqlplus / as sysdba
    but I get the following error:
    sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Dec 6 07:58:51 2010
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    ERROR:
    ORA-01031: insufficient privileges
    My Windows XP box has access to two other databases that are located on a separate server. I then tried to connect using sqlplus to a user account that was on one of the other databases and it me connected. So my problem seems to be that when I enter:
    sqlplus / as sysdba
    He thinks I'm trying to connect to one of the other servers. How to connect using the command above and the target of the Windows XP box, I'm trying to connect from? How can I specify the server that I want to connect to in the above command?

    Just found it!

    Check $ORACLE_HOME/network/admin/sqlnet.ora file it provide SQLNET. AUTHENTICATION_SERVICES = (NTS)

    then try again

  • Question about the connection using the "sqlplus / as sysdba.

    Good afternoon

    The command:
    sqlplus / as sysdba
    worked very well for the Oracle server. When I go to a client, it does not work even if I specify the correct instance. On the client, I can able to connect using one of these two commands:
    sqlplus.exe sys/abc123@"orahost.john.local:1521/dbca.john.local" as sysdba
    
    or 
    
    sqlplus.exe sys/abc123@dbca as sysdba
    
    but not
    
    sqlplus / as sysdba
    
    or 
    
    sqlplus /@dbca as sysdba
    The question is: is the form "/ as sysdba" limited to used on the Oracle server and not available for customers?

    Thank you for your help,

    John.

    is the form "/ as sysdba" limited to use on the Oracle Server

    Yes

    and not available for customers?

    Yes

  • difference between sqlplus /nolog and sqlplus "/ as sysdba".

    HI ppl,

    Please help me with this... This is an emergency of lill

    On the oracle 10g platform, what is the difference between sqlplus /nolog and sqlplus "/ as sysdba".

    concerning

    Zombie says:
    Thnx for the people of responses,

    but not giving sqlplus/nolog... Disable writing to the Oder, the session is opened in mode nologing IE?

    concerning

    Laughing out loud

    Do not assume that everywhere where NOLOG is mentioned it means no. LOGGINg:-D. By sqlplus / nolog, you did nothing but had just the sql command prompt without really connecting as any user. You will still need to connect, by some users to start your work. This has NOTHING to do with do it again / cancel and anything else.

    The other command will actually to connect as user Sys with Sysdba role.

    That said, I STRONGLY suggest you to read this book for sure.
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14231/TOC.htm

    HTH
    Aman...

  • How to reset AirPort Extreme 10.11.6 OS? How to work with this pinhole? I'm trying to get rid of this flashing yellow light, which began after I installed a new modem from Comcast.

    How to reset AirPort Extreme 10.11.6 OS? How to work with this pinhole? I'm trying to get rid of this flashing yellow light, which began after I installed a new modem from Comcast.

    How to work with this pinhole?

    Usually a paperclip or toothpick or ball pen.

    Stick it in the hole and reset for about 10 seconds until the front led flashes quickly.

    How to reset AirPort Extreme 10.11.6 OS?

    The software method... Unlike the above material method... is to open airport utility and select restore default settings.

    Both methods take you to the same place.

    You can also read the manual...

    Reset to a base station AirPort FAQ - Apple Support

  • I can import my Canon XF100 files in FCP, I bought today. I downloaded Canon XF utility application, but do not understand how it works. Appreciate any suggestions of people perhaps!

    I can't import my Canon XF100 files in FCP. I downloaded the Canon XF utility, but do not understand how it works. I work with a 24 inch Mac (2009), 8 GB of memory running with El Capitan 10.11.6

    Make sure that the last formats video Prois installed.

    Russ

  • How iCloud works for documents?

    So, I was working on a Word document between two different iMacs.  To keep the documents in sync, I have it stored the iCloud drive.  May 17, died the main iMac that I used to work.  Now I'm trying to restore the iMac that died, but I expected the document in phase.  When I went to my other iMac to continue working the iCloud drive shows the word document to have an update date of May 11.  Basically, I lost six days of work.

    I had assumed that iCloud drive could be used a shared drive between computers - like Dropbox or 1prediction.  But this isn't the case or something unusual broke my sync files to the cloud.

    So how does iCloud?  It is not synchronize whenever a file is updated, but uses another system?  I just want to understand how it works if it does not happen.

    Otherwise I could use Pages that seems to work as I expect to work the synchronization whenever there is a change, but in this case the word is the right tool, not Pages.

    Thank you.

    Read what it should answer most of your questions- https://www.apple.com/support/icloud/icloud-drive/

  • How to "work offline"?

    It's crazy, but I can't find out how to work in offline mode. I just have to shut down the internet. Where did put the option work offline?

    You can also find the item menu to work offline in the list of drop-down tools developer.
    You can find the developer tools button in the list of the menu button Firefox '3-bar' and the possible drag this button on a toolbar.

  • How cache works on an iPhone?

    Thus, if only a topic has an application that he has legally downloaded on the apple App Store in memory cache, video/audio from youtube videos. And it "covers" any song you want.

    1.) does take space on the memory embedded phones (iPhone 16 gb)

    2.) after about 500 songs cached will there be performance implications? Because that I do not know if the cache is an accessible memory write is in and of its own which would get clogged after a lot of files are cached.

    3.) why can't I just check the size of the apps file to see if it uses the said files system memory "cached".

    BASICALLY, I FOUND an ALTERNATIVE to ITUBE, where songs are "cached" actually stored? Do not want to waste space that I have only a 16 gb iPhone

    1 - Yes

    2 - Yes

    3. I think because that's not how iOS works.

    Is your phone jailbroken?

    How do you think your phone to store the songs without taking up space?

  • Mac pro tech specs and how upgrades work apple hardware?

    Hello guys,.

    My colleague from modding pc just got a mac pro and I have just read his record about 5 minutes ago and I discovered there xeons, ram ecc and over-pants on it. I've never touched before apple products, and I don't know how they work. So I came here for your help.

    I see similarities to the msi with the mac pro vortex. Motherboards are the same? even if they are, does anyone have full features on the mac pro?

    -The moterboard chipset?

    -Which plug to use?

    -Number of pcie 16 x housing?

    -Output power of psu Board?

    -Number of fan on the motherboard headers?

    -Support hotswap and raid?

    -MOST IMPORTANT: how to enter the bios?

    Main question:

    I want to try to Exchange and equip inside the mac pro with what is on the test bench for a project at random and to see the scores of benchmark on apple os and etc will this work? (As I said it, a 0 on the orders of apple experience)

    * material I want to Exchange in the mac pro: there is a 980ti of reference and sticks of ram ddr4 hyperx to the test

    What model Mac Pro?

    How to identify models Mac Pro - Apple Support

    Start is a small trash can black or silver 35 lb round?

Maybe you are looking for