SQL*Plus login problems

Hi. I am just reading through my PL/SQL 101 book and exam guide for preparation for the 1Z0-007 exam. I have downloaded Oracle 9i and I cannot login to SQL+ at all. I want to use my database as a stand alone system for the time being until I can network my other computer with my new one.
All I want is to get into SQL+ so that I can practice pl/sql code for the exam.
Can anyone help me? What steps should I do?
thank you, comments and solutions are greatly appreciated.
Karin

If you are connecting a local default database (which you may be if I make a guess at your configuration), you don't need to enter anything in the host string field. Just enter the username and password.
If you are connecting to a remote database, or non-default database, you need to enter a connect string in the host strint field. To find your connect string, look in your tnsnames.ora file (in the network/admin directory) and you will see an entry for the default database you created. Use the value set for SERVICE_NAME.
Alison
iSQL*Plus Team

Similar Messages

  • Enterprise manager & sql* plus login failed

    hi
    this is the problem i encountered yesterday:
    there are server_3 and rs_16 machines which are in D1 domain and server_1 in W1 workgroup. server_3 and rs_16 has no oracle software whatsoever and on server_1 8i database exists. other machines with 8i clients, all in D1 domain, succesfully connect to server_1.
    i installed 10g database on server_3 machine; after installation i created a database db1. after the database was created, i tried to start enterprise manager (EM) and it failed (the database is not mounted ....), and i found out that tns listener wasn't created during the installation. so i created tns listener and started EM again and browser showed the proper page (username and login). so i entered sys as username, pswrd (created during the installation) and connect as sysdba. when i clicked on login button, the page refreshed but nothing happened, the same page (login) was still opened. i tried to connect from rs_16 and the same thing happened. this happened using internet explorer for opening EM. i tried to login as system, sysman but all in vain.
    then i installed 10g on rs_16, created db2 database and found out that tnsnames.ora file was missing. created db3 as well, and all went ok. started EM, tried to login and the same thing happened as on server_3, browser just refreshed the page.
    also have to say that i tried to connect to databases using sql* plus and login also failed.
    also tried using administration assistent for windows and tried to connect to db3. when i tried to connect as sys acount (database authentication) login failed, but when i used os authentication i succeeded.
    then i tried to start EM from another machine rs_13 (D1 domain) using internet explorer and i succeeded, there was no problem at all. after all, i installed mozilla firefox (1.0.6) on rs_16 and succesfully started EM for any database i wanted. but have to mention that i still can't connect to any db using sql* plus.
    rs_13 setup:
    - win 2000 + sp4
    - ie 6.0.2600.0000IC
    and rs_16:
    - win xp + sp2
    - ie 6.0.2900.2180.xpsp_sp2
    server_3:
    - windows server 2003
    on every machine i was logged in as top administrator so i had any possible permission.
    could anybody answer these questions:
    1. why tnsnames.ora wasn't created?
    2. why tns listener wasn't created?
    3. why couldn't i start EM using ie on server_3 and rs_16 and could on rs_13?
    4. why did login fail using sql* plus and why can't i still connect to any db using sql* plus? is it a problem of assigning some privileges or something else?
    5. why did login fail using database authentication while succeeded using windows authentication in administration assistent for windows? what should i do to make it succeed? is this all problem due to ie browser, win security or oracle security?
    6. why microsoft is giving me a hard time with their security?
    thanks for help in advance
    hope this post will help someone else as well !!
    Message was edited by:
    uncle carmine
    Message was edited by:
    uncle carmine

    could anybody answer these questions:
    1. why tnsnames.ora wasn't created?
    2. why tns listener wasn't created?I think you cancel Network Configuration Assistan which would create tnsnames.ora and listener. I hope others help you with the other questions I have plenty of work
    Best Regards
    Krystian Zieja / mob

  • Oracle SQL Plus login fails

    Hi
    I have install Oracle 9i Enterprise Edition on Windows XP. Then I have created a database call "itcmdb". Then to login to SQL Plus in graphical mode I have enter
    User Name: sys as sysdba
    Password : password
    Host String : itcmdb
    Then I have got an error:
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Feb 17 16:46:17 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_string>] | /
    so I try to log into SQL Plus by using command prompt. So i enter following command in the command prompt.
    D:\>SQLPLUS /NOLOG
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Feb 17 16:50:34 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> connect sys/password@itcmdb as sysdba
    Connected.
    SQL>
    the it was connected without any problem. Then i check "C:\oracle\ora92\network\admin\tnsnames.ora". So it was contain following information.
    ITCMDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Rasika)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME=itcmdb)
    Then i check "C:\oracle\ora92\network\admin\listener.ora". so it was contains following information.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rasika)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ITCMDB)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = ITCMDB)
    Cold u plz help me to fix this problem........

    Hi
    I have install Oracle 9i Enterprise Edition on
    Windows XP. Then I have created a database call
    "itcmdb". Then to login to SQL Plus in graphical mode
    I have enter
    User Name: sys as sysdba
    Password : password
    Host String : itcmdb
    Then I have got an error:
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Feb
    17 16:46:17 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All
    rights reserved.
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::=
    <username>[<password>][@<connect_string>] | /
    so I try to log into SQL Plus by using command
    prompt. So i enter following command in the command
    prompt.
    D:\>SQLPLUS /NOLOG
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Feb
    17 16:50:34 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All
    rights reserved.
    SQL> connect sys/password@itcmdb as sysdba
    Connected.
    SQL>
    the it was connected without any problem. Then i
    check "C:\oracle\ora92\network\admin\tnsnames.ora".
    So it was contain following information.
    ITCMDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Rasika)(PORT
    )(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME=itcmdb)
    Then i check
    "C:\oracle\ora92\network\admin\listener.ora". so it
    was contains following information.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =
    )(HOST = rasika)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ITCMDB)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = ITCMDB)
    Cold u plz help me to fix this problem........on the sqlplusw gui you can not pass sys as sysdba as this option is available in OEM or other FRONTEND tools, wherein they inherently implement connect command.
    Hope this helps !

  • Oracle10g Developer Suite - Application Development - SQL Plus Login Info

    I have installed Oracle10g Developer Suite and when I am trying to login into the sql*plus environment the username scott with the passcode tiger is not working. I have Oracle9i Enterprise Edition Release 9.2.0.1.0 as the database.
    Can anyone help me in setting up the username and password to login into Sql*plus Release 10.1.0.4.2

    It sounds like you may be new to Oracle and its products. I would recommend doing some reading.
    Oracle 9.2 Net Services Admin Guide
    http://download-west.oracle.com/docs/cd/B10501_01/network.920/a96580/toc.htm
    Oracle Developer Suite Installation Guide
    http://download-west.oracle.com/docs/cd/B25016_06/doc/dl/core/B16012_03/toc.htm
    You create the "login" information when you install the database. If you are not the person who performed the installation, you will need to contact them or install it again. Also, be aware that the SCOTT schema is disabled by default in newer database versions for security reasons.
    The tnsnames.ora and sqlnet.ora files can be found in the ORACLE_HOME\network\admin directory. This is the same for all Oracle products that use Sql-Net for database connections. You can also use the TNS_ADMIN environment variable to point to a pre-existing tnsnames.ora file (see previously mentioned documents).
    The tnsnames.ora entry will be unique to your database and its listener however here is an example:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = someServer.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    )

  • 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

  • Unable to get SQL Plus login id & pw

    Hi all, I am a beginner in using Oracle products.
    Q1)
    I am using windows vista and I have installed Oracle 10g on my machine, and when I tried to access SQL Plus, they prompted me for :
    ID
    Password
    Host String
    I do not know how to get/create those values. May I ask how to?
    Q2)
    How do I uninstall Oracle 10g from Windows Vista? I couldn't uninstall from the control panel.
    Thanks!

    On that page you had the choice of...
    1. Oracle Database 10g Release 2 (10.2.0.3)
    Enterprise/Standard Edition for Microsoft Windows Vista
    2. Oracle Database 10g Companion CD Release 2 (10.2.0.3)
    10203_companion_vista.zip (677,074,714 bytes)
    Download latest Oracle Application Express (formerly HTML DB)
    3. Oracle Database 10g Client Release 2 (10.2.0.3)
    10203_client_vista.zip (616,067,114 bytes)
    If you select the first one then that looks like the full database, so you have installed a database locally on your PC.
    When you choose the starter database there should have been an option to set the default password for all the default users with an option (usually missed) to set different passwords for each of the default users.
    It's difficult to recall the details without actually going through an install which isn't something I do every day.
    Best bet is in the installation forum.
    ;)

  • SQL Plus login

    Installed Oracle 9i enterprise edition from disk set provided with course text on advanced database concepts.
    Received registration key from oracle but no user name or password to open a session on SQL Plus. Cannot logon.
    Does anyone have info on who to contact?

    I followed your suggestion and pulled up the configuration assistant. I managed to create a password without being sure of anything I was doing and voile!
    I was able to log on to SQL PLUS.
    Thanks for the tip!

  • Block Sql Plus Login

    Hi,
    I have database 8.05. For client server application on the client side we mention
    D:\ORACLE\BIN\F50RUN32.EXE c:\test\test.fmx test/test@test
    Now anyone can logon to sql plus and if he knows sql plus as the username and password is there. I dont want to remove sql plus from each machine and at the same time i dont want to user to logon to sql prompt.
    Operation system is windows NT.
    Rgds

    What you need to do is , give only CONNECT permissions to user TEST. So even if the user logs in SQLPLUS he wont be able to access any OBJECTS.
    ALSO you need to create another Oracle user , which will have all the necessary permissions.
    In your client application (FORMS), you need to connect using this new user after you have initially logged in using TEST user
    Hope this helps
    Ashwin N.

  • OC4J and SQL Plus: ORACLE_HOME problem

    I installed (unzip) latest version of OC4J standalone. OS is Windows XP professional. After unziping I put enviroment varibles ORACLE_HOME and JAVA_HOME and started ocj4 -start. It works OK. But I cannot run SQL Plus anymore (because it has different ORACLE_HOME) . What should I do to run both: SQL Plus and OC4J (which are installed on the same computer)?
    Message was edited by:
    user529386

    Hi All
    Correct. Oracle application server wants to point ORACLE_HOME variable to its home directory and to smooth functionality of Oracle DB it also need same environment variable (ex sqlplus, sqlldr).
    Try this, this may work.
    1) Do not set ORACLE_HOME environment variable in profiles. (In UNIX systems do not set ORACLE_HOME in .profiles files and windows system does not set it using -> System Properties (Right Click My Computer -> proprieties) -> Advanced -> Environment variables). If it is already set please unset that.
    2) Open cmd and check ORACLE_HOME is set or not (in windows u can use echo %ORACLE_HOME% and Unix/Linux u can use echo $ORACLE_HOME). If it is set please unset ORALCE_HOME environment variable.
    3) To start application server open cmd, follow step 2 and set ORALCE_HOME home to oracle application server home and then u can run the command to start oracle application server. If u want to use script to start app server what u have to do is u can set ORALCE_HOME environment variable inside script and point it to app server home.
    4) If u want to run the Oracle DB utilities please open the another cmd , follow the step 2 and set ORACLE_HOME environment variable to Oracle DB home. And then execute DB utilities commands.
    Note: - What we have to do is simply point to correct oracle home to before execute commands
    Thanks
    Asanka Priyanjith

  • Discoverer plus login problem

    hai,
    i getting error while login to discoverer plus 10.1.2.0.2
    is " Error
    Unable to open a new browser window. Ensure that you do not have popup windows disabled for this site."
    if i worked with discoverer viewer, it working fine
    where is the problem, please let me know it.

    It appears Java pop-up window could not be opened, You could try
    1. You can uncheck the 'Turn on Pop-up Blocker' under Privacy tab in IE
    2. Turn off the Google/Yahoo pop-up blocker if you have these plug-ins
    3. Also, ensure you can download ActiveX Control signed and unsigned with prompting enabled
    4. After entering the user/name password, press Control Key down then click the login button

  • SQL*Plus Installation Problem (Ora-12705)

    Hi,
    I bought a guide to sql featuring Oracle by phillip J.Pratt published by course Technology include Oracale8i Personal Edition realease 8.1.5 for Microsoft Window 98 and Oracle Developer 6.0. I follow the documentation to install. I think i got right configuration (i have the tnslsnr window display and Oracle8i database started) but when I login (user:system and password:manager)it doen't work and it give me the error Ora-12705: invalid or unknow NLS parameter value specified. What can i do with this? I appreciate for yours help.
    ~linh
    null

    I got this error message too when I install the 9i client in my pc. You can find the NLS_LANG in the registry under \\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE. If you have multiple oracle home, you might need to check each of the entry.
    I found that the value for NLS_LANG is NA and I changed it to
    9i: AMERICAN_AMERICA.WE8MSWIN1252
    oracle form 6i : AMERICAN_AMERICA.WE8ISO8859P1
    This fixed my sqlplus problem, and I hope it helps.

  • SQL*Plus Install Problem (Ora-12705?- - -)

    Hi,
    I bought a guide to sql featuring Oracle by phillip J.Pratt published by course Technology include Oracale8i Personal Edition realease 8.1.5 for Microsoft Window 98 and Oracle Developer 6.0. I follow the documentation to install. I think i got right configuration (i have the tnslsnr window display and Oracle8i database started) but when I login it doen't work and it give me the error Ora-12705: invalid or unknow NLS parameter value specified. What can i do with this? I appreciate for yours help.
    ~linh
    null

    I got this error message too when I install the 9i client in my pc. You can find the NLS_LANG in the registry under \\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE. If you have multiple oracle home, you might need to check each of the entry.
    I found that the value for NLS_LANG is NA and I changed it to
    9i: AMERICAN_AMERICA.WE8MSWIN1252
    oracle form 6i : AMERICAN_AMERICA.WE8ISO8859P1
    This fixed my sqlplus problem, and I hope it helps.

  • Sql Plus linux problems

    Hi
    I just completed installing oracle 10g R2 on
    RHEL 3.
    When I tryed to login as sydba by
    sqlplus " /as sysdba"
    I get an invalid option error.
    However,
    sqlplus /nolog
    SQL>connect /as sysdba
    worked fine ?

    Put a space after the slash
    sqlplus "/ as sysdba"

  • ISQL*Plus login problem

    Hi Guys
    i am desprate to know whats going on ym system,Please help me
    i am sending u the messeg i got in command prompt
    C:\oracle\product\10.2.0\db_1\jdk\bin>C:\oracle\product\10.2.0\db_1\jdk\bin\java -Djava.security.properties=C:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\config\jazn.security.props -jar C:\oracle\product\10.2.0\db_1\oc4j\j2ee\home\jazn.jar -adduser sys username sys
    oracle.security.jazn.JAZNRuntimeException: Configuration file "config\jazn.xml" does not exist. Check your JAAS configuration settings.
    at oracle.security.jazn.JAZNConfig.getJAZNProperties(Unknown Source)
    at oracle.security.jazn.JAZNConfig.access$100(Unknown Source)
    at oracle.security.jazn.JAZNConfig$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jazn.JAZNConfig.getJAZNPropertiesNoCheck(Unknown Source)
    at oracle.security.jazn.JAZNConfig.<init>(Unknown Source)
    at oracle.security.jazn.JAZNConfig.initJAZNSingleton(Unknown Source)
    at oracle.security.jazn.JAZNConfig.getJAZNConfig(Unknown Source)
    at oracle.security.jazn.util.Dbg$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jazn.util.Dbg.getJAZNProperty(Unknown Source)
    at oracle.security.jazn.util.Dbg.getBoolJAZNAndSystemProperty(Unknown Source)
    at oracle.security.jazn.util.Dbg.<clinit>(Unknown Source)
    at oracle.security.jazn.JAZNConfig.fileExists(Unknown Source)
    at oracle.security.jazn.JAZNConfig.getDefaultJAZNConfigFilePath(Unknown Source)
    at oracle.security.jazn.JAZNConfig.access$000(Unknown Source)
    at oracle.security.jazn.JAZNConfig$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jazn.JAZNConfig.getJAZNPropertiesNoCheck(Unknown Source)
    at oracle.security.jazn.JAZNConfig.<init>(Unknown Source)
    at oracle.security.jazn.JAZNConfig.initJAZNSingleton(Unknown Source)
    at oracle.security.jazn.JAZNConfig.getJAZNConfig(Unknown Source)
    at oracle.security.jazn.tools.Admintool.refresh(Unknown Source)
    at oracle.security.jazn.tools.Admintool.init(Unknown Source)
    at oracle.security.jazn.tools.Admintool.main(Unknown Source)
    RealmLoginModule username: scott
    RealmLoginModule password:******
    User does not exist in system.
    and which user the system is asking for
    Thanks

    Hi,
    1. Check if the scott or sys or apps user is locked by giving
    SQL> select username from dba_users where account_status <> 'OPEN';
    The usually occurs when the account is locked...
    If your are not able to login to sql itself...set the environment and try the same..
    thanks,
    baskar.l

  • [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

Maybe you are looking for

  • How to get all minimum values for a table of unique records?

    I need to get the list of minimum value records for a table which has the below structure and data create table emp (name varchar2(50),org varchar2(50),desig varchar2(50),salary number(10),year number(10)); insert into emp (name,org,desig,salary,year

  • Itunes stops working in windows 8.1

    When I access itunes in windows 8.1, and try to enter the store. Itunes stops working message appears and crashes itunes. I have tried uninstalling and reinstalling - not fixed. I have ried to repair - not fixed. tried all the discussion group sugges

  • Mapping to an IDOC

    Hello, I'm mapping an XML structure to an IDOC and the mapping goes through the compilation but when I test the mapping nothing happens??? Are there any possibility to look to a log file and see what the server is doing. I mean the way you do in webM

  • How to send a text to multiple people in my droid I

    can someone help me please, thanks in advance.

  • IPhoto placed 7000 pictures into one event

    After recently upgrading to Mavericks and the iphoto upgrade... iphoto merged about 7000 of my 12000 pictures into one event unders the Library/Photos... It's only those 7000 that have been merged and the rest are still as I had put them... Any help