Logging in to SQL*Plus

I've just installed Oracle 9i to Windows 2000 server. When I use SQL*Plus, it asked for a username and password. But when I installed Oracle 9i, it never asked me to create user. Then I tried logging in using windows 2000 username and it still did not worked. Is there any default username (like 'root' maybe). Thanks.

There was a dialog displayed during installation that gave you the default logins. They are:
scott/tiger
system/manager
sys/change_on_install
Your Windows login has nothing to do with your Oracle9i login, with the exception of the ORA_DBA group, but that's a whole other discussion that I won't go into here.
I suggest you get reading some Oracle documetation at http://tahiti.oracle.com.
Alison

Similar Messages

  • Logging in on SQL Plus

    I have yet been able to log in to SQL Plus. I just installed 8i Personal. I created a DB called "SCOTTSDB". After creating it, I wanted to login to SQL Plus. I tried user:system password:manager, user:internal password:oracle, and user:sys password:change_on_install. I just started an Oracle class at the university and wanted to run it at home for more practice. The login that I use at school is user:system password:manager. The host string is the name of the database right? For instance the name of the database that I created is like I said earlier "SCOTTSDB". Is that what I put in the host field? Any help is greatly appreciated. Thank you. scott

    Hi I want to know, if Oracle 8i server can be installed in Win
    98 properly? I tried and it got installed. But, I could not
    connect to it from Oracle client. It is giving error ORA-
    12541:TNS: no listener . How to start a listener in Win 98? Is
    it possible or Oracle 8i server has to be installed in NT/
    2000 ? I want to use the client and server in a single machine,
    thats why I do not want to unistall my OS. Can u suggest
    anything?
    Thanks and regards,
    -surajit

  • 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

  • Logging in to SQL Plus as DBUSER

    I can log in to SQL Plus as username scott, password tiger. But I need to login as username DBUSER, password oracle. How can I do this?

    In the same way as you did with username scott.
    Or maybe there is no user DBUSER in your database.
    check with...(as DBA)
    select username from dba_users where username='DBUSER'

  • Oracle10g - getting error when tried to log in using SQL plus

    I have installed Oracle Database 10g with following settings
    A) In Select Installation Method with basic installation
    1) Global Database Name: orcl
    2) Database Password: srinu
    B) In Database Configuration Assistant shows following information
    Global Database Name: orcl
    System Identifier(SID):orcl
    c) Password management
    User Name SYS and SYSTEM shows accounts are not locked and password shows empty
    I have tried to log in using scott/tiger, SYS/srinu, SYSTEM/srinu, SYS, SYSTEM with providing no pass word
    Could you please provide me the details to connect Databse from SQL plus editor
    I have all the screen shots of the above settings
    I will appreciate any help

    Please find the commands and respective results below
    D:\Documents and Settings\Administrator>SET
    ALLUSERSPROFILE=D:\Documents and Settings\All Users
    APPDATA=D:\Documents and Settings\Administrator\Application Data
    CLIENTNAME=Console
    CommonProgramFiles=D:\Program Files\Common Files
    COMPUTERNAME=SRINU
    ComSpec=D:\WINDOWS.0\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=D:
    HOMEPATH=\Documents and Settings\Administrator
    LOGONSERVER=\\SRINU
    NUMBER_OF_PROCESSORS=1
    OS=Windows_NT
    Path=D:\oracle\product\10.2.0\db_2\bin;D:\WINDOWS.0\system32;D:\WINDOWS.0;D:\WIN
    DOWS.0\System32\Wbem;D:\Program Files\Java\jdk1.5.0_19\bin;D:\Program Files\Apac
    he Software Foundation\Tomcat 6.0\bin;D:\Program Files\Java\jre1.5.0_19\lib;D:\o
    racle\product\10.2.0\db_2\BIN
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PERL5LIB=D:\oracle\product\10.2.0\db_2\perl\5.8.3\lib\MSWin32-x86;D:\oracle\prod
    uct\10.2.0\db_2\perl\5.8.3\lib;D:\oracle\product\10.2.0\db_2\perl\5.8.3\lib\MSWi
    n32-x86;D:\oracle\product\10.2.0\db_2\perl\site\5.8.3;D:\oracle\product\10.2.0\d
    b_2\perl\site\5.8.3\lib;D:\oracle\product\10.2.0\db_2\sysman\admin\scripts;
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 8, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0d08
    ProgramFiles=D:\Program Files
    PROMPT=$P$G
    SESSIONNAME=Console
    SystemDrive=D:
    SystemRoot=D:\WINDOWS.0
    TEMP=D:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
    TMP=D:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
    USERDOMAIN=SRINU
    USERNAME=Administrator
    USERPROFILE=D:\Documents and Settings\Administrator
    windir=D:\WINDOWS.0
    ============================
    D:\Documents and Settings\Administrator>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-MAY-2010 03:08
    :55
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 15-MAY-2010 23:44:31
    Uptime 0 days 3 hr. 24 min. 25 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\product\10.2.0\db_2\network\admin\listener.o
    ra
    Listener Log File D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.51)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orcl_XPT" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    ========================================
    D:\Documents and Settings\Administrator>lsnrctl service
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-MAY-2010 03:10
    :10
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: SRINU, pid: 3740>
    (ADDRESS=(PROTOCOL=tcp)(HOST=srinu)(PORT=1092))
    Service "orcl_XPT" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    Thanks,
    Srinivas

  • How to append timestamp to log file in SQL*Plus ?

    Version: 11.2.0.3
    Platform : RHEL 5.8 (But I am looking for platform independant solution)
    I want to append the timestamp to spooled log file name in SQL*Plus.
    The spooled log filename should look like
    WMS_APP_23-March-2013.logI tried the following 3 methods found in the google. But none of them worked !
    I tried this
    col sysdt noprint new_value sysdt_var
    SELECT TO_CHAR(SYSDATE, 'yyyymmdd_hh24miss') sysdt FROM DUAL;
    spool run_filename_&sysdt_var.Logas suggested in
    http://power2build.wordpress.com/2011/03/11/sqlplus-spool-name-with-embedded-timestamp/
    and this
    spool filename with timestamp
    col sysdt noprint new_value sysdt
    SELECT TO_CHAR(SYSDATE, 'yyyymmdd_hh24miss') sysdt FROM DUAL;
    spool run_filename_&sysdt..Logas suggested in
    http://powerbuildev.wordpress.com/2011/03/11/sqlplus-spool-name-with-embedded-timestamp/
    and this
    column tm new_value file_time noprint
    select to_char(sysdate, 'YYYYMMDD') tm from dual ;
    prompt &file_time
    spool logfile_id&file_time..logas suggested in
    Creating a spool file with date/time appended to file name
    None of the above worked in RHEL or MS DOS. Any workaround ?

    I have tested your suggestions. But I still couldn't append the date to the logfile in RHEL or MS DOS SQL*Plus
    Here are the attempts I've made. I am posting how the logfile looked like after every test.
    #Attempt1 with two dots (&sysdate..log )
    set echo on
    set feedback on
    set define off
    set pages 999
    column dcol new_value SYSDATE noprint
    select to_char(sysdate,'YYYYMMDD') dcol from dual;
    spool testlog.&sysdate..log
    select 'hello' from dual;
    spool off;Log File Name -- > testlog.&sysdate..log
    #Attempt2 with single dot (&sysdate.log)
    set echo on
    set feedback on
    set define off
    set pages 999
    column dcol new_value SYSDATE noprint
    select to_char(sysdate,'YYYYMMDD') dcol from dual;
    spool testlog.&sysdate.log
    select 'hello' from dual;
    spool off;Log File Name ---> testlog.&sysdate.log
    #Attempt3. Replacing first dot with Hyphen (testlog- ) to check if the first dot was causing the issue
    set echo on
    set feedback on
    set define off
    set pages 999
    column dcol new_value SYSDATE noprint
    select to_char(sysdate,'YYYYMMDD') dcol from dual;
    spool testlog-&sysdate.log
    select 'hello' from dual;
    spool off;Log Filename: testlog-&sysdate.log
    #Attempt4: replacing SYSDATE with SDATE
    set echo on
    set feedback on
    set define off
    set pages 999
    column dcol new_value SDATE noprint
    select to_char(sysdate,'YYYYMMDD') dcol from dual;
    spool testlog1.&SDATE..log
    select 'hello' from dual;
    spool off;Log File Name -- > testlog1.&SDATE..log

  • URGENT - cannot log in to SQL Plus on Oracle 8i

    Hi, I have Oracle 8i (8.1.6.0.0) installed on windows 98.
    I want to use the SQL Plus module, but I have trouble to login SQL plus, and I an get error message:
    ORA-12560: TNS:Protocol adapter error
    I supposed the default username and password as follows:
    SYS/CHANGE_ON_INSTALL
    SYSTEM/MANAGER
    SCOTT/TIGER
    Am I using the correct version or edition (which I also don't know which edition)? Does windows 98 supports SQL Plus?
    I was told to set up a database by selecting database administration then follow by database configuration assistant (in order to use the SQL Plus, firstly a database have to set up). I'm not sure whether this is true? but inside the database administration I don't have the so call "database configuration assistant". Can someone please help me?
    Thanks a lot in advance!

    I hope you can help, I'm in the same boat as the others who cannot log on to the SQL* using Oracle Personal Edition 8
    I'm running on 98, and everytime I try entering SYS as username & CHANGE_ON_INSTALL as password, or SYSTEM as username & MANAGER as password; I get:
    ORA-01034: ORACLE not available
    ORA-27101: Shared memory realm does not exist
    I've been trying for a number of days, and have created databases using the Database config assistant, and everytime, it gives me the details as SYS CHANGE_ON_INSTALL etc, but it still doesn't let me log into SQL*
    Any help would be gratefully received,
    Patrick

  • Problem logging on to SQl *Plus

    Hi
    I have installed Oracle 8i Personal Edition Release 8.1.7 on my computer where I have the operating system Windows 98. When I am trying to log on to the database through SQL*Plus, I get the following message: "ORA-12541: TNS: no bugging/listener " (I get the message in Swedish so I hope I have translated it correct in English)
    kindly help me out to resolve this problem.
    Thanks in advance
    Anna

    From the error messages documentation:
    Cause: The connection request could not be completed because the listener is not running.
    Action: Ensure that the supplied destination address matches one of the addresses used by the listener. Compare the TNSNAMES.ORA entry with the appropriate LISTENER.ORA file (or TNSNAV.ORA if the connection is to go by way of an Interchange). Start the listener on the remote machine.

  • Cannot log in to SQL Plus on Oracle 8i

    Hi,
    I have Oracle 8i (8.1.6) Client installed on windows 200 professional. I donnot connect to any servers, and I want to use the SQL Plus module, but I have trouble to login SQL plus, and I an get error message:
    ORA-12560: TNS:Protocole adapter error.
    Would you please let me know what they are supposed to be: username, password and host string ?
    Am I using the correct version, or I have to use the personnal edition, and if so I have Oracle 8i personnal edition, but it is not working with 2000, is there a patch file or do I have to download the 2000 version.
    Thanks a lot in advance.

    The default logins for Oracle8i are:
    SYS/CHANGE_ON_INSTALL
    SYSTEM/MANAGER
    SCOTT/TIGER
    If you are connecting to the default database, don't enter anything in the Host String area. If you are connecting to a remote database, you will need to set up Oracle Net on your machine to connect to the remote database (tnsnames.ora file).
    Do you have a database to connect to? You have installed the Oracle8i Client, which should be used to connect to remote databases (on other machines). If you don't have a remote database, you should install the full Oracle9i Server component, not just the Client.
    The Oracle8i Personal Edition includes a cut-down version of the Server and the Client, and I think this is what you should be using if you don't have a remote database to connect to.
    Personal Edition Version 8.1.6 is now desupported, but was certified against Windows 2000. Personal Edition Version 8.1.7 is still supported and is also certified against Windows 2000.
    Alison

  • Oracle8.1.7 - Can't log in to SQL*Plus

    I have just installed the Course Technology kit for Oracle8i (Oracle8i Personal Edition and Oracle Forms and Reports 6i). I am running Windows 98.
    I am able to start the database and have created the connect string in tnsnames.ora as instructed (I copy/pasted from the website so there shouldn't be any typo's), but when I try to start SQL*Plus and connect to the database I get
    ERROR:
    ORA-12547 TNS: lost contact
    What do I do now?

    GoodDay,
    Ok. You should try to restart the tnslnr.exe,lsnrctl.exe present in oracle/bin directory it should reinitiate the variables and after that one you should also change the contents of Listerner depending upon the type of protocal used such as TCP/IP,IPC etc and you should try Beq_LOCAL.world in Tnsnames.ora file that would help you resolve your problem.
    With Best Wishes,
    M.Ram Chaitanya

  • Logging in Oeacle SQL*Plus (ORA-12170: TNS: Connect timeout occured)  ...

    I installed recently Oracle 10g. When I try to log in, with the account and password setup[ earlier, I get the message "ORA-12170: TNS: Connect timeout occured". Do I need to specify a Host String" at Log On? Should I un-install and re-install the software again? Thank you.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    /* Error:     ORA-12170 (ORA-12170)
    Text:     TNS:Connect timeout occurred
    Cause:     The server shut down because connection establishment with a
         client failed to complete within the allotted time interval. This
         may be a result of network/system delays; or this may indicate
         that a malicious client is trying to cause a Denial of Service
         attack on the server.
    Action:     If the error occurred because of a slow network/system,
         reconfigure the SQLNET.INBOUND_CONNECT_TIMEOUT parameter in
         sqlnet.ora to a larger value. If a malicious client is suspected,
         use the address in sqlnet.log to identify the source and restrict
         access. Note that logged addresses may not be reliable as they can
         be forged (e.g. in TCP/IP).
    Could also be a firewall issue.
    Werner

  • SQL Plus Log On

    Hi ,
    I have an oracle instance on my laptop . now i log into my laptop as administrator on the laptop's domian . when i log on like this i am able to log into SQL*Plus . but when i log into my laptop on my companies domain and try to start up SQL*PLUS i am unable to do so it says end of file communiction even though the ORacle Server Instance up( i am looking at the instance in the NT Services )
    IS there a settings which has to be set so that i can log on to SQL*Plus when logging to my laptop on my company domian
    Thanks
    Ravinder

    You may want to check to see if the LISTENER is running. Often the administrator of a box can login without the listener running, but anyone else cannot.

  • Re: SQL Plus Error ORA - 12560 TNS:Protocol Adapter error

    I am using Oracle 9i
    On Windows XP Home
    I am trying to learn and become familiar with Oracle 9i
    I get the above error whenever I try to log on to SQL Plus
    I use the following Id scott
    and the following Password Tiger
    and the above error comes up
    now I can't log on to Oracle9i SQL
    I tried going into Start, Control Panel, Administrative Tools, Services
    I see the Oracle SID which says Automatic, Started
    But I am unable to still logon
    Anyone has a solution
    Assistance would be appreciated
    The solution can be printed here as well as please forward a copy to [email protected]
    Thanks

    Here is the following output of your instructions
    sc query oracleserviceoracle
    SERVICE_NAME: ORACLESERVICEORACLE
    TYPE: 10 WIN32_OWN_PROCESS
    STATE: 4 RUNNING
    (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
    WIN32_EXIT_CODE: 0 (0X0)
    SERVICE_EXIT_CODE: 0 (0X0)
    CHECKPOINT: 0X0
    WAIT_HINT: 0X0
    set | find "ORACLE"
    comes back empty
    set | find "oracle"
    JSERV=J:\oracle\ora92/Apache/Jserv/conf;C:\oracle\ora92/Apache/Jserv/conf
    Path=J:\oracle\ora92\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\MSSQL7\BINN;"C:\Program Files\Zone Labs\ZoneAlarm\MailFrontier";C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Executive Software\DiskeeperLite\;C:\Program Files\CA\PPRT\bin;C:\Program Files\SSH Communications Security\SSH Secure Shell;;J:\Acucobol\BIN
    WV_GATEWAY_CFG=J:\oracle\ora92\Apache\modplsql\cfg\wdbsvr.app
    ebrian
    Yes I realize that the JSERV is pointing in the incorrect are
    the J drive is a flashdrive
    In the Registry I have just deleted the 2nd Orahome directory which was on the J drive
    so all I have now left is the Orahome directory on the C drive
    how do I make corrections so that from now on the JSERV, Path, and WV_Gateway._CFG point to the C drive

  • SQL*Plus with Oracle 10g Express Edition

    How Can I do to log in using SQL*Plus into Oracle 10g?
    My Schema is: Banco.Global
    My Password is: 111111
    I need to write SET SERVEROUTPUT ON to get answer?
    I opened the Prompt, but i don't know to log in.
    Thanks and my english is not as well as you.

    If i write:
    SQL>connect "Banco.Global"/111111
    a error message is raised: Invalid username/password; logon denied
    but if I log in into Home Page with the same Username and Password, I get to log in.
    There is difference to connect SQL*Plus and the connect with Home Page the Oracle?
    I need to connect with SQL*Plus, because i need to make a test.

  • Connecting to SQL*PLUS

    Good afternoon. I have a strange issue when I try to connect to SQL*PLUS, Designer and Discoverer too, with an id other than SYSTEM or SYS. I have 10G database installed on my local PC, with the 10G client, Developer Suite with Discoverer and Designer. I connected in the command window with SYS to create the Designer repository and everything worked fine. I can CONNECT to SQL*PLUS to my local db with the SYSTEM id, but not with my own id. I can't connect to Designer repository with the REPOS_MANAGER id either. It looks as if it is trying to connect, but I get an hour glass and a NOT RESPONDING in the Windows task list. I have checked the id's by logging on to SQL*PLUS with SYSTEM id, and they are set up correctly. Any thoughts or suggestions? I can connect to my local database through GUI tools like TOAD or SQL*Tools using my own id. I would greatly appreciate any ideas you might have. Thanks. DLD

    Hi D Moran,
    You don't mention the platform and/or Oracle versions you work with, but generally speaking, did you check:
    - the tns service (windows) is started?
    - did you wait for a moment after the database service started, so that it had the time to "announce itself" to the tns service?
    - do you have only one tnsnames.ora file? if more then one: did you select the corresponding oracle home?
    etc...
    Maybe some of these checks help!
    Regards,
    Sabine

Maybe you are looking for

  • Why can't I download any of adobe's apps from the website?

    Before you tell me to use the creative cloud desktop app, i've tried. I can't even install it and I can't find a fix for it. So did I just waste my money? I can't download anything. My firewall is off for these downloads and I turned off my anti-viru

  • AutoUnattend.xml is not completing

    So I'm running into a problem with my AutoUnattend.xml. I needed to update my image, so I started from scratch after applying all necessary updates. It was taking far too long to update workstations after installing from the old image. The problem I'

  • Connecting Serial Garmin GPS to iMac Intel

    I was wondering if anyone has connected a Serial port cable GPS from Garmin to an iMac Intel using a USB to RS232 converter cable. I have a GPSmap 76S from Garmin and have not been able to get Google Earth or LoadmyTrack programs recognize the GPS. I

  • I can´t access to itunes store in the ipad after install ios7

    I can´t access to itunes store in the ipad after install ios7

  • How to transfer currency rates to R/3 after dynamic modelling in BPS

    Hi all, I need your advice. I have, for example, a several sales plans, which were composed by using BPS. Each of sales plans depends on currency rates. After comparision these plans, I selected and approved one of them. After plan approval I transfe