[urgent]sql plus 's user login

how do i know my sql plus login name and password? when i install...they never ask me to set my own login name and password...

Hi 489652,
Which version of oracle you are using?
Oracle 8i & below sys password is change_on_install & system password is manager
You can even login as internal with a password oracle.
if 9i & above you need to provide oracle password for sys & system and no internal login.
What ever version you use this should work as generic
01. Login as oracle user in unix box in windows as admin.
02. export ORACLE_SID=dbname in unix . set ORACLE_SID=dbname in windows
03. sqlplus "/ as sysdba" you should be loggin as sys ..(as oracle admin)
Moreover, please remember when you raise this kind of question try to include the version of oracle and OS.
Cheers,
kamalesh jk

Similar Messages

  • Cannot log in to SQL*Plus after initial login

    Hi all,
    I have an irritating problem that I am hoping that you can help with. I installed Oracle 10g on RedHat Linux ES 3. Everything seems to be working fine as long as I do not log out my oracle user. If I leave the user logged in everything works as expected. Once I log out, when I log back in I cannot access SQL*Plus normally.
    I enter: sqlplus my_user/my_password
    I get this:
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Sep 27 11:59:01 2005
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27123: unable to attach to shared memory segment
    Linux Error: 22: Invalid argument
    Additional information: 1
    Additional information: 360457
    But, if I enter it with the connection string: sqlplus my_user/my_password@ora1 then it works fine.
    I get the same behavior through VNC. As long as I never log out of VNC but just close the session, logging in to SQL*Plus works as normal.
    Any thoughts? My ORACLE_BASE, ORACLE_HOME, and ORACLE_SID seem to be correct.
    Thanks,
    Mike

    Hi,
    Kill the shared memory process and restart your database.
    Regards,
    Umair

  • SQL Plus - Prompt user with: "Would you like to continue?"

    I am running a PL/SQL script using SQL Plus. In the middle of the script, I'd basically like to have the following logic:
    Prompt the user: "Would you like to continue?"
    IF user types 'Y', continue with script (run update statements)
    ELSE IF
    user types 'N', end script
    What is the best way to do this? Thanks!

    I see. So ACCEPT/PROMPT statements are a SQL Plus feature that can only be run BEFORE the DECLARE section?
    ACCEPT i_idnumber PROMPT 'Enter the Prospect ID: '
    ACCEPT i_transnum PROMPT 'Enter the Transnum: '
    ACCEPT i_remark PROMPT 'Enter reason for updating the tribute info: '
    ACCEPT i_hmflag PROMPT 'Enter the tribute type - H or M: '
    ACCEPT i_honor PROMPT 'Enter the Tribute ID: '
    ACCEPT i_hm_remark PROMPT 'Enter a remark for the honor/memorial party: '

  • Sql usage for user login screen in uix

    I am very new to Jdeveloper so many things remain a mystery at this point. I'm using version 9.0.3.3.
    I implemented a login screen using the example supplied in the uix developer guide and the solution works great except for the un-implemented method from the sample java program
    if (password.equals(getPasswordForUser(userName)))
    I need some help in how to implement this method. Conceptually, it is simple. Just a sql statement that searches the user file for a match on user name and password and either returns a single row or nothing.
    The user interface screen works and passes down the user id and password and I made the java program work by hard coding in the user id and password rather than go to the database.
    Any help would be greatly appreciated.
    Thanks
    Steve Oliphant

    If you figured this out, please share some code. In a nutshell I have some code that does not work, and have posted several questions on forum. So far no luck. The only way I made it work is to have dummy binding of USERS VO on my login page. Weird?

  • 1st Login to Oracle 9i Personal SQL Plus (To 355099)

    To 355099
    Thank You for trying to help.
    I did as you told me in your reply but I am sorry to tell
    you that it did not worked.I steel demanded
    Password.
    If there is another thing that you forgot or you know
    another way to solve that problem then I shall
    be great thankful to you if you will let me know.
    You can reply to E-Mail [email protected]
    With Many Thanks and Great Respect
    Menahem Sharon

    it is very strange you still not got the solution because i read the sotion which work good on my system.
    do you remember the password which you gave during the installation of oracle database on you system . If so then your system user pass will the same.
    so when you click sql*plus enter user name => system
    and in Password field enter the password which you gave during installation . If you gave no password during installation then the password of user 'system' will be 'manager' so enter this information. and do the same processes which I told you.
    Thankyou.

  • Starting SQL PLUS in Oracle 9i

    Hi All,
    I have Oracle 9i installed.
    I can login to SQL PLUS by User name : scott Password : tiger
    It shows me the prompt SQL>
    What is Host String? And what value or characters is supposed to be entered there.
    Nisarg Sutaria

    Global database name is : matrix.neo
    so SID : matrix
    now if I give Host String : [email protected] (It does not work)
    if I give Host String : matrix.neo (It does not work)
    If I give Host String : matrix (IT WORKS)
    It shows SQL> prompt.
    Let me know if I am correct.
    Nisarg

  • NEW FEATURE:AUTOTRACE IN SQL*PLUS 3.3(EXECUTION PLAN)

    제품 : SQL*PLUS
    작성날짜 : 2003-10-07
    NEW FEATURE:AUTOTRACE IN SQL*PLUS 3.3
    ======================================
    Autotrace는 SQL*Plus 3.3부터 지원하는 New feature로서 기존에는 init.ora에
    SQL_TRACE=TRUE를 setting 후 얻어진 trace file을 TKPROF란 utility를
    이용하여 SQL 문의 수행 경로, 각종 통계 정보를 얻었다.
    그러나, SQL*Plus 3.3부터는 이것을 간단히 처리할 수 있는 방법을 제공한다.
    1. SQL*Plus를 실행하여 scott user로 접속한 후, plan table을 생성한다.
    #sqlplus scott/tiger
    SQL>@$ORACLE_HOME/rdbms/admin/utlxplan
    2. 다음에 sys user에서 PLUSTRACE란 ROLE을 만든다.
    SVRMGR>connect internal;
    SVRMGR>create role plustrace;
    SVRMGR>grant select on v_$sesstat to plustrace;
    SVRMGR>grant select on v_$statname to plustrace;
    SVRMGR>grant select on v_$session to plustrace;
    SVRMGR>grant plustrace to dba with admin option;
    SVRMGR>grant plustrace to scott;
    비고) 위의 grant 문은 client에 SQL*Plus 3.3이 install되어 있는 경우
    C:ORAWIN95\PLUS33\PLUSTRCE.SQL이라는 script에 기록되어 있다.
    다음과 같이 실행해 주면 된다.
    1> connect sys/manager
    2> @$ORACLE_HOME/sqlplus/admin/plustrce.sql
    3> grant plustrace to scott;
    3. 다음에는 scott user로 connect하여 작업한다.
    #sqlplus scott/tiger
    SQL>set autotrace on
    SQL>select * from emp;
    Execution Plan
    0 SELECT STATEMENT Optimizer=CHOOSE
    1 0 TABLE ACCESS (FULL) OF 'EMP'
    Statistics
    389 recursive calls
    5 db block gets
    53 consistent gets
    12 physical reads
    0 redo size
    1049 bytes sent via SQL*Net to client
    239 bytes received via SQL*Net from client
    4 SQL*Net round-trips to/from client
    0 sorts (memory)
    0 sorts (disk)
    13 rows processed
    4. 참고로 set autotrace에는 여러가지 option을 부여해 작업할 수도 있다.
    예)set autotrace on => Explain plan and statistics.
    set autotrace on explain => Explain plan only.
    set autotrace traceonly => select된 결과는 빼고 trace만 display
    시킴.
    set autotrace on statistics=> sql statement execution statistics.
    5. 서버 버젼과 상관없다.
    Server가 7.2 version 이하일지라도 clinet에 SQL*Plus 3.3이 install되어
    있으면 client에서 sqlplus 3.3을 구동시켜 server에 접속하여 위와 같이
    작업하면 무리없이 작업이 가능하다.
    Reference Documents
    <Note:43214.1>

    Hi Roman,
    I don't have an Oracle 9.2 database readily available, but it works fine on 10g XE. Please note 3.1 is not certified with 9i:
    http://www.oracle.com/technetwork/developer-tools/sql-developer/certification-096745.html
    Regards,
    Gary
    SQL Developer Team

  • Different execution plan in ApEx and SQL/PLUS

    Hi
    I have weird problem with sql query exectuion plans.
    DB version: 10.2.0.1
    ApEx version: 3.1.2
    I have workspace parsed as SCHEMA1.
    I have a view under different schema - SCHEMA2.view1 and a function SCHEMA2.func1.
    I have a query like SELECT * from SCHEMA2.view1 WHERE col1 = SCHEMA2.func1(:bind1)
    "col1" is a indexed column.
    When I execute this query in SQL/PLUS under user SCHEMA1 with the same bind value, then index is used perfectly.
    When I execute this query in ApEx report then index is not used, full scan is performed and hash join is done between the tables used in the view and explain plan shows that a view is formed during execution.
    What can be the reason for such a different behaviour.
    Statistics are freshly calculated, FIRST_ROWS hint doesn't help, using the INDEX hint results only index full scan.
    This happens only if I use a view and pl/sql function together in the query. If I use view with Oracle built in function like NVL instead then it works perfectly. Also when I access directly the same tabels with the same PL/SQL function then the execution plan is perfect. Only if the view and pl/sql function is used together in the query then execution plan is bad.
    It is not a problem of this specific query but, many different other queries with same pattern also. I have tried ApEx versions 3.0, 3.1.1 and 3.1.2.
    At the same time the exectuion plan is good in SQL/PLUS and TOAD.
    Any ideas?
    Best regards,
    jan

    I didn't help. But I rewrote the queries so that there is no database view and PL/SQL function used in the same query. I still don't know the reason for such different behavior, but I just try to accept it and keep in mind for future :)
    Thanks anyway!
    jan

  • How to login in Oracle 10g SQL Plus

    I just installed Oracle 10g. I tried to login to SQL Plus by using scott and tiger to be user name and password, but it did not work. What can I do about it?
    Please help and thanks in advance!!!

    You have to configure a Net service name, and connect as
    sqlplus scott/tiger@<service_name>
    You can use the Net Configuration Assistant to do that. This is in the Oracle menu on Windows systems. On Unix/Linux you can use the netca utility.
    If you are working locally (on the server), you can also set the ORACLE_SID environment variable :
    Windows : set ORACLE_SID=<your_sid>
    Unix/Linux : ORACLE_SID=<your_sid>; export ORACLE_SID
    then connect as
    sqlplus scott/tiger

  • SQL*Plus: Release 10.1.0.4.0 startup behaviour (glogin and login)

    Hi,
    I'm working in a unix environment where I have a lot of sql scripts to run using different DB users but only one OS user.
    I notice that in this version of SQL*Plus something was change regarding glogin and login scripts: they are executed also after a successful connect. There is no warning in the documentation to NOT use CONNECT in these scripts.
    What happens is recurrent execution of the same login script if there is a CONNECT command in it up to 20 time (the limit of recurrence in SQL*Plus). The only workaround I found is to put SET SQLPLUSCOMPATIBILITY to a prior version in the same login file before the CONNECT command.
    Has anyone a better idea ?
    Thank you.

    There is no warning in the documentation to NOT use CONNECT in these scripts.the change is documented
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12015.htm
    When you run a CONNECT command, the site profile, glogin.sql, and the user profile, login.sql, are executed.
    I understand your problem. The best would be to use a valid login and glogin script. I do not recommend big modification in glogin.
    Some tools, like OEMGC, particulary hates aggressive staff in glogin.sql, for example ALTER SESSION, etc...
    It is not recommended to do a "SET TERMOUT OFF" or a "WHENEVER SQLERROR CONTINUE" or any DML/DDL in your glogin, because it will irreversibily affect some scripts.
    The best I can rate you : remove your fancy staff from glogin.sql. If it is about the sql prompt, use 10g feature, like
    set SQLP _USER@""_CONNECT_IDENTIFIER>much better than selecting from global name!!!
    HTH
    Laurent

  • SQL*Plus/iSQL*Plus login as DBA

    I just installed 10g Enterprise on a Windows platform and am a bit confused to why I cannot log into SQL*Plus/iSQL as a DBA. I can login as one of the user accounts then use 'connect' to login as dba in SQL*Plus or at the Windows command prompt. I cannot do this, however, in iSQL*Plus. One of the threads on this forum pointed me to using JAZN after installing OC4J. I am in the process of doing this, but I need to understand something apparently fundamental: why should I have to perform another install when the Universal Installer installed iSQL and all the features that came with it? Didn't the 10g download give me the tools necessary to administer its application's accounts? The OC4J download page states that this tool should not be used to replace an existing 10g installation.
    Moreover, why iSQL knows about the 'users' authorization level, but not 'system?' I can see the users and groups in the Enterprise Manager, but no features to set WebDBA users as iSQL*Plus requests.
    Your comments would be much appreciated.

    Hi,
    in order to use iSQL*Plus as DBA, you have to perform additional configuration. See
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch2.htm#BCEIHEJF
    By the way: Get used to a different tool like SQL*Plus linemode or SQL Developer, because iSQL*Plus disappears in future versions.
    Kind regards
    Uwe

  • SQL Plus not work with domain user

    Hey guys,
    have a problem with sql plus in our network. when i started it with the admin it works. but when i started it with a user account, fill in the username, the password and the host and click on the ok button, the window closes and nothing happen. no error no new window, the window simply closes.
    what to do?
    regards

    Hi,
    There might be different reasons behind this.
    Check whether user is created in database or not.
    There might be possibility that, user is in different database.
    SELECT * FROM V$DATABASE; --This will help you to findout database name.
    SELECT * FROM DBA_USERS WHERE USERNAME = 'HR';  --HR is user present on database. If your user is present in database then user might not have connect privilege.
    GRANT CONNECT , RESOURCE TO HR; --HR is user. To execute this command, login as sys You can also try to login with command prompt.
    sqlplus user/password@host

  • SQL Plus Login issue

    Please assist...when i am trying to login following error is occuring ....
    Enter user-name: / as sysdba
    ERROR:
    ORA-01031: Message 1031 not found; No message file for product=RDBMS,
    facility=ORA

    Maran thanks for the prompts replies, i have already set the variables & restarted the machine but there is no change. please see below;
    C:\Documents and Settings\Administrator>sqlplus
    Error 6 initializing SQL*Plus
    Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
    C:\Documents and Settings\Administrator>d:
    D:\>cd oracle
    D:\oracle>cd ora92
    D:\oracle\ora92>cd bin
    D:\oracle\ora92\bin>sqlplus
    SQL*Plus: Release 9.2.0.6.0 - Production on Fri May 11 17:31:09 2007
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Enter user-name: / as sysdba
    ERROR:
    ORA-01031: Message 1031 not found; No message file for product=RDBMS,
    facility=ORA

  • SQLPATH for user profile of SQL*PLUS

    Hi there,
    I am using 9.2 on HPUX. I tried set up my user profile script (login.sql) and place it in a place included in SQLPATH variable. It worked in 8.1.x but not in 9.2
    Is it an identified bug? I have no access to metalink

    Seems to work on my windows environment.
    E:\>set SQLPATH=C:\Temp
    E:\>
    E:\>mkdir C:\Temp\Help
    E:\>
    E:\>echo prompt Help... > C:\Temp\Help\Help.sql
    E:\>
    E:\>sqlplus
    SQL*Plus: Release 9.2.0.3.0 - Production on Thu Sep 25 23:08:40 2003
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Enter user-name: /
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.3.0 - Production
    SQL>
    SQL> @Help\Help.sql
    Help...
    SQL>
    SQL> @Temp\Help\Help.sql
    Help...
    SQL>
    SQL> exit
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.3.0 - Production
    E:\>

  • First Login to Oracle 9i Personal SQL Plus after installation

    I downloaded the Opacle 9i for Windows NT/2000/XP,3 ZIP
    fiels andI extracted them into 3 special folders disk1,
    disk2 and disk3 according the instructions.Also I
    installed the JRE which is required for that.After the
    installation of Oracle 9,when I wanted to use the SQL Plus
    I could not do it because I had no the first login User
    Name and Password.
    For example,in Oracle 7 Personal for Windows 95 and in
    Oracle 8i Personal for Windows 98,the first login User
    Name is "scott" and the Password is "tiger".
    I shall be great thankfull to you if you will let me know
    how to perform the first login to the SQL Plus of Oracle
    9i (User Name and Password).
    With Great Respect
    Menahem Sharon

    in oracle9i all default users account are lock by default. so if you want to connect
    first when you open sqlplus in user name type "/nolog"
    sqlplus will open with no connection then issue the command.
    conn / as sysdba
    alter user scott account unlock;
    conn scott/tiger
    that is the procedure

Maybe you are looking for

  • HP Laserjet 1536dnf MFP not in list of ePrint

    According to the ePrint-website, my My HP Laserjet 1536dnf MFP supports ePrint Supported LaserJet printers include:  HP Color LaserJet Pro CM1415 Series Worldwide X X HP Color LaserJet Pro CP1525 Series Worldwide X -- HP Color LaserJet Pro M1536 Seri

  • Writing to serial port 1 from a PDA

    ok this program is driving me NUTS! i have this microchip which uses a certain protocol... now this protocol requires that you send it some characters in hexadecimal so it'll reset... afterwhich it'll send you a data packet containing the version of

  • Standard text not printing

    Hi all,   I am using /: INCLUDE ZTEST_TEXT OBJECT TEXT ID ST LANGUAGE EN   in my smart form. nothing is printing.What was the mistake in my statement?It gets printed if I use Include text and give same values.But why doesn't it print Standard text va

  • 0137 "Formal error: Payment difference given without items to be cleared".

    i have problem bapi BAPI_CTRACCTRCTACCNT_PAYBYCARD i use a bapi to select  the open items (BAPI_CTRACCONTRACTACCOUNT_GOI) and then Via the component ITEM_ACTIVATED, you can select the items to be cleared. In     the component CLEARING_AMOUNT specify

  • Best Practice - Analyze table with very large partitions

    We have a table that contains 100 partitions with about 20m rows in each. Right now the analyze is taking about 1 hour per partition. The table is used for reporting and will have a nightly load of the previous days data. What would be the best way t