Results 1 to 5 of 5

Thread: Connecting with SYS and SYSTEM database user

  1. #1
    Join Date
    Jan 2010
    Posts
    49

    Connecting with SYS and SYSTEM database user

    Hello

    I am unable to connect with oracle SYS user on windows XP system and running with oracle 9i database.After exporting the database SID when I enter the sqlplus command with user name and password,it occur some error and showing me a list of options,I am so confused to connect with my database.As earlier I was using oracle on Linux. Everything was fine there but now...If you have any suggestions please just post me as soon as possible.

    Thank you

  2. #2
    Join Date
    Oct 2005
    Posts
    2,393

    The SYS and SYSTEM database user

    SYS and SYSTEM database user :

    The database requires some high privileged user who can perform the configuration,maintenance and management of database.

    The SYS and SYSTEM are those two users who belongs that category and perform the maintenance task of database and hold a lot of privileges. They are database defined user and have privileges to access the database for another user of database. But one thing I would mention here, The SYS user is one of highest privileged user of database and on other hand, the SYSTEM user has some less privilege in the comparison of SYS user.

  3. #3
    Join Date
    May 2008
    Posts
    2,389

    Connecting with SYS and SYSTEM on Windows

    Connecting with SYS and SYSTEM on Windows :

    The connection method is some like different on windows operating system than other.To connect with these users in the Windows environment would be as follows :

    1- Go to Start menu and click .
    2- Click on RUN and type Command in the text box.
    3- The windows prompt would be opened and export the database with the SID
    C:\Set Oracle_sid=<name_of_database>
    4- And execute the following :
    C:\sqlplus /NOLOG
    5- After executing this command,you would be prompted with SQL prompt and type the following command :
    Conn sys/sys as sysdba;
    6- Now you are in SYS schema .

  4. #4
    Join Date
    Feb 2008
    Posts
    1,852

    Connecting with SYS and SYSTEM on Linux

    Connecting with SYS and SYSTEM on Linux :

    The connection method on Linux is somewhat different from other systems.If you are going to be connect with SYS or SYSTEM then you need to perform following steps :

    • Open the terminal and connect with Oracle user for which DBMS was installed using below statement :
      #su - Oracle
    • Now export the name of the database as a SID
      $ Export ORACLE_SID=<name_of_database>
    • And execute the following statement to connect with SYS user.
      $ sqlplus 'sys/sys as sysdba'


    Now you are in the schema of sys user.

  5. #5
    Join Date
    Jan 2008
    Posts
    1,521

    Issues of Connecting with SYS and SYSTEM user

    Issues in Connecting :

    If you are getting problem yet then make sure the parameter that you have configured for your database. The statement that you are entering regarding the exporting of database,may be wrong some where.Check it properly.

    The statement for exporting the SID for database would be as follows :

    Code:
     $ Export ORACLE_SID =<Name_of_database>

Similar Threads

  1. Error in connecting to Internet database
    By Jaganmohini in forum Networking & Security
    Replies: 6
    Last Post: 10-08-2010, 10:37 AM
  2. Connecting C# with MySQL database
    By Quattro in forum Software Development
    Replies: 5
    Last Post: 05-03-2010, 10:13 PM
  3. Issues in C# application connecting to Remote MySQL 5 database.
    By kyosang in forum Software Development
    Replies: 5
    Last Post: 25-01-2010, 04:24 PM
  4. Help me with JSP connecting to database.
    By russ_da_buss in forum Software Development
    Replies: 3
    Last Post: 28-07-2009, 07:24 PM
  5. Connecting Oracle Database with ASP dotnet
    By Shashikant in forum Software Development
    Replies: 3
    Last Post: 03-02-2009, 06:22 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,273,470.97575 seconds with 17 queries