Logging to sqlplus

Hi guys,
I just installed Oracle 8i personal Edition so that I can practice PL/SQL. I have three system created accounts (INTERNAL, SYS AND SYSTEM)and their passwords. But when I connect to SQLPlus, it also asks me Host String alongwith userid and password.
Can someone tell me what should I enter for Hoststring?
Any help is appreciated.
Thanks.

Have you created the tnsnames.ora and sqlnet.ora ?. If you didn't have problems
on installing, it should work.
You must start up your database with svrmgrl
before connecting as "user/username@oracle_sid" under sqlplus.
Note that "@oracle_sid" is not required.
Perhaps this can help.
dB
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by aj1234:
Hi guys,
I just installed Oracle 8i personal Edition so that I can practice PL/SQL. I have three system created accounts (INTERNAL, SYS AND SYSTEM)and their passwords. But when I connect to SQLPlus, it also asks me Host String alongwith userid and password.
Can someone tell me what should I enter for Hoststring?
Any help is appreciated.
Thanks.<HR></BLOCKQUOTE>
null

Similar Messages

  • Problem to log to sqlplus

    Im a beginner using oracle.
    Recently I instaled Personal Oracle Lite
    and I cant log to sqlplus.
    The Dsn is good.
    I log to sqlplus with login:scott
    password:tiger
    but, I cant log to sqlplus.
    And the error said:
    ERROR: ORA-12154: TNS:it cant resolve the
    name of the service
    I need help
    null

    Ricardo,
    The Oracle documentation might help you out. In case you haven't found this one, take a look at http://technet.oracle.com/doc/network.815/a67440/ch11.htm#440455
    Then, search (ctrl-F) for 12154. There's a list there of a bunch of things to check. (You're about to teach yourself some Oracle networking!)
    I hope that helps! Good luck.
    . . . Garry
    null

  • Problem logging into sqlplus

    Hi,
    I am having a strange problem with sql*plus...
    I installed Oracle database 10g release 2 and then logged into sqlplus as sys user from the windows command line and everything seemed fine. Later I installed oracle http server from the 10g companion cd and now logging into sqlplus as sys user from the windows terminal from where i logged on before, works fine, but if I open a new terminal and try to log into sqlplus as sys user from there, I get the following error...ora-01031: insufficient privileges.
    i noticed that from the first terminal, it logs into sqlplus release 10.2.0.1.0 but from the new terminal it logs into sqlplus release 10.1.0.3.0.
    Does anyone know how this came about? I only have the database release 2 installed and not release 1.
    Thanks.

    I am unable to connect to SQL plus after installing oracle 10g
    what username and password I should use to connect to SQL Server for the first time?
    I am new to oracle. Please help me...if I need to set anything from command prompt?
    Thanks in Advance,
    Regards,
    Lakshmi

  • Log in SQLplus Worksheet

    Hi,
    I have Juts installedOracle 91 and the SQLplus seems to be wking fine .I can log in using scoot /tiger as the user nae /passowrd.
    I cannot log in the sqlplus worksheet which when i try to connect using the change database connection,i cannot log in caould anyone tell me what is the follwoing to connect to SQl plus worksheet;
    Username
    Password
    Service
    Connect as
    Thanks
    Ig ub have an answer u can also e-mail it to [email protected]
    Thanks

    Hi,
    >>which when i try to connect using the change database connection
    Do you mean, about the "Service" ?
    If you get connect using the scott/tiger account, then there is no problem in order to connect using other accounts. Now, if you need to connect in other database, then maybe you need to create a service "connection string" on your local TNSNAMES.ORA file.
    Cheers

  • Cant log into SQLPlus receive these error messages ORA-01034 & ORA-27101

    Hi
    just installed the latest release of Oracle DB 10g personal edition Windows XP Professional and Home Edition (seperate PCs). The installation went pretty smoothly. After the installation the db was up and I tried sqlplus and isqlplus and the html em port, everything worked perfectly (that means, all the hardware and kernel parameter requirements were met). But after a reboot, when I tried to run sqlplus again, got message like this:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    I can't even log onto html port
    I googled for solutions, unfortunately no right-to-the-point solution and on other Operating systems
    Anyone who could kindly tell me which file(s) to configure and how please? I would be much obliged!

    First, make sure that Oracle instance is started. Check processes
    Second, make sure that your connection string is correct. Check network configuration files (tnsnames and/or sqlnet .ora)
    Third, check if listener is runing and configure correctly(lstnrctl status)
    http://www.errorpro.com/oracleerrors/oraerror.php?level1=Oracle&send=Send&ecode=ORA-01034
    http://www.errorpro.com/oracleerrors/oraerror.php?level1=Oracle&send=Send&ecode=ORA-27101
    Edited by: alshan5 on Mar 20, 2009 2:13 PM
    Edited by: alshan5 on Mar 20, 2009 2:15 PM

  • How to create .log for sqlplus script

    Hi All,
    I created a sqlplus script and run it through a window form. My user want to me create a .log file for this script so they can know the job is completed or not. Does any one know how to do it?
    Thanks
    OF

    I created a "Login.sql" script that I use for all my sql*plus sessions.
    It creates a spool file in my common directory and everything i do is logged unless i set spool off.
    Take a look and it gives you an example of using spool files and how to set a directory and unique filename for each spoolfile.
    The contents of this file:
    -- any uppercase commands are my specific changes.
    -- this file must go in the oracle bin path or where sqlplus exe is located
    SET HEADING OFF
    PROMPT Who What Why Where When, This is SQL*Plus!
    Select 'You are connected to ' || GLOBAL_NAME || ' as ' || USER FROM GLOBAL_NAME;
    set appinfo ON
    set appinfo "SQL*Plus"
    set arraysize 15
    set autocommit OFF
    set autoprint OFF
    set autorecovery OFF
    set autotrace off
    set blockterminator "."
    set cmdsep OFF
    set colsep " "
    set compatibility NATIVE
    set concat "."
    set copycommit 0
    set copytypecheck ON
    set define "&"
    set describe DEPTH 1 LINENUM OFF INDENT ON
    set markup HTML OFF SPOOL OFF ENTMAP ON PRE OFF
    set echo OFF
    set editfile "afiedt.buf"
    set embedded OFF
    set endbuftoken ""
    set escape OFF
    set feedback 6
    set flagger OFF
    set flush ON
    SET HEADING ON
    set headsep "|"
    SET LINESIZE 250
    set logsource ""
    set long 80
    set longchunksize 80
    set newpage 1
    set null ""
    set numformat ""
    set numwidth 10
    SET PAGESIZE 24
    set pause OFF
    set recsep WRAP
    set recsepchar " "
    SET SERVEROUTPUT ON size 1000000 format WORD_WRAPPED
    set shiftinout invisible
    set showmode OFF
    set sqlblanklines OFF
    set sqlcase MIXED
    set sqlcontinue "> "
    set sqlnumber ON
    set sqlprefix "#"
    set sqlprompt "SQL> "
    set sqlterminator ";"
    set suffix "sql"
    set tab ON
    set termout ON
    SET TIME ON
    SET TIMING ON
    SET TRIMOUT ON
    set trimspool OFF
    set underline "-"
    set verify ON
    set wrap ON
    COL SPOOLFILE NEW_VALUE SPOOL;
    COL SYSTIMESTAMP FORMAT a38
    SELECT 'C:\oracle\spoolfiles\'||NAME||'_'||TO_CHAR(SYSDATE,'DD_MON_YYYY_HH24MISS')||'.lst' spoolfile FROM V$DATABASE;
    spool &spool
    PROMPT -----------------------------------------------
    SELECT SYSTIMESTAMP FROM DUAL;
    PROMPT -----------------------------------------------

  • Wierd problem logging into sqlplus

    oracle: 10.1.0.3
    solaris with kshell
    I have SSH'd to the server that runs an oracle database.
    Generally I can do this
    export ORACLE_SID=mydatabase
    normally I can go
    sqlplus username/password
    and that gets me in. I dont need to add @mydatabase
    Now this works as the oracle user, but it does not work as one of the other users. I can connect to that database if I pass the @mydatabase, but not when I try to use the environment variable.
    I get "connector descriptor" does not exist or something like that.

    Guess2 wrote:
    oracle: 10.1.0.3
    solaris with kshell
    I have SSH'd to the server that runs an oracle database.
    Generally I can do this
    export ORACLE_SID=mydatabase
    normally I can go
    sqlplus username/password
    and that gets me in. I dont need to add @mydatabase
    Now this works as the oracle user, but it does not work as one of the other users. I can connect to that database if I pass the @mydatabase, but not when I try to use the environment variable.
    I get "connector descriptor" does not exist or something like that."or something like that".
    The exact error would be much more helpful.

  • Log all SQLPLUS.EXE queries into a table

    Hi,
    I want to trace all SQLPLUS activities executed by any user , I tried using V$Session and V$SQLAREA but not much helpful as V$Session is a dynamic view.
    I need to capture all sql commands executed from sqlplus.exe prompt.
    Need your expert advice for same .
    Regards,

    Hi,
    My Database size is around 2 TB , moreover i dont want to trace the application activities .
    As direct access to SQLPLUS is limited , only requirement is to trace SQL commands run on SQLPLUS prompt .
    Auditing will audit all activities including application .Lookng for some solution which will provide SQL_TEXT of progam SQLPLUS only.
    Regards,

  • Logging into SQLPLUS as SYS...

    Hello there, its time for another question from your latest clueless forumer!
    After getting help for another question I had, I was instructed to log in as SYS...
    Now I read somewhere that this is NOT the same as logging in as System, so what exactly is it? And how do i get the password for it?
    Thanks in advance!
    Daniel Reid

    Hi Daniel,
    Pete's suggestion regarding the book is a very good suggestion.
    A good start is the "....For Dummies" series by Wiley Publishing Inc.
    Please don't be put off by the title, some of them are excellent introductions to complicated technologies. After you work through these books, you get much more out of the more complicated books.
    You can check out reader ratings and comments on Amazon.com before you buy.
    Hope this helps.
    Cheers,
    Patrick Cimolini
    Message was edited by:
    Patrick Cimolini

  • I have a problem to log sqlplus

    Recently I instaled Personal Oracle Lite
    and I cant log to sqlplus.
    The Dsn is good.
    I log to sqlplus with login:scott
    password:tiger
    but, I cant log to sqlplus.
    I need to help

    Did you try to log on with system/manager?
    Can you verify, that there is a user named scott? (Data-Dictionary view: dba_users)
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Javier Lopez ([email protected]):
    Recently I instaled Personal Oracle Lite
    and I cant log to sqlplus.
    The Dsn is good.
    I log to sqlplus with login:scott
    password:tiger
    but, I cant log to sqlplus.
    I need to help<HR></BLOCKQUOTE>
    null

  • Can't log into Ent.Man after 10g install on win xp pro.

    I've been reading posts about this all day but still can't login.
    I followed the instructions and installed a loopback adapter first.
    10.10.10.10
    255.255.255.0
    Then I ran the install and that went fine.
    The services are started, DBConsole service, listener service, oracle service, sqlplus service.
    I followed the instructions and checked the local security policy for the "log on as a batch job" policy.
    I can log into sqlplus with sysman/password that I created during the install.
    Followed the instructions to make sure the accounts were unlocked with sqlplus.
    Through internet explorer the login page comes up fine for
    http://kir_64xp:1158/em
    http://kir_64xp:5500/em - the second database I created with the database config assistant
    http://10.10.10.10:5500/em
    If I try to login with sys as normal, I get a message telling me to log in with sys as sysdba.
    When I change to that it just refreshes and comes back to the login screen - no error.
    If I try sysman as normal it just refreshes back to the login screen.
    If I try sysman as sysdba then I get the error that I am using an incorrent username password.
    If I use the administration assitant for windows I can connect to both of the databases with sysman or using OS authentications as sysdba.
    I disabled my firewall software - that didn't help.
    Any information would be appreciated,
    Thanks.

    I found this other post (Thread: New install 10G on XP professional) with the same problem.
    Using Firefox instead of IE solved the problem.
    I tried changing the security settings and pop up blocker settings but still could not get IE to work. If anyone knows what to change on IE to get it to work I'm curious. Other than wasting 3 hours of my life I'm good.
    Thanks.

  • Sqlplus doesn't accept any login - ORA-27101 ORA-01034

    Hello there, I eventually decided to write to this forum after
    having read tons of documentation and newsgroup posts without any
    result.
    I still keep getting the infamous messagge
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    any time a try to log into sqlplus.
    My envinronment variable are correct, (including
    ORACLE_SID) the db is up and running.
    I don't know what else I could do now. BTW, what file
    the system cannot find? the "2" file?????
    Is there anyone that can help me?
    Thank you in advance.
    Roberto Baglioni
    ===============================
    Roberto Baglioni
    Network administrator
    Universita' di Firenze
    ================================

    Unfortunately this is NOT the "final solution" because I had already done all those modifications to the kernel parameters
    and still had the problem.
    So, I agree with Rob: if you don't modify the kernel parameters
    oracle won't work. But for me this wasn'sufficient: i.e. necesssary but not sufficient.
    My little step was to modify the startup script
    $ORACLE_HOME/bin/dbstart. Here I changed the line
    startup DBNAME
    with
    startup open DBNAME
    Since then I haven't had any problem in starting oracle and
    connecting to it with sqlplus.
    Perhaps I have found a solution without any intelligence of
    the problem...
    Roberto Baglioni
    [email protected]

  • Use of sqlplus / as sysdba in oracle 11g

    What is purpose of sqlplus / as sysdba
    if the database is at client place he can see the data by modifying the existing users password right?
    how to restrict logging under sqlplus / as sysdba by giving some password for it to login

    933663 wrote:
    How to track the no of log-in attempts made for this database either success or failure.
    Any sys table is there to track the records
    Thanks!Unless you have changed the defaults, all connect attempts by normal users are logged to the sys.ayd$ table, and all connects as sysdba are logged to files in audit_file_dest (Unix) or the application log (Windows).
    Edited by: JohnWatson on Jan 24, 2013 9:56 AM
    Typo: for ayd$ read aud$

  • USERID/PASSWORD SQLPLUS

    I am new to Oracle and I am trying to launch the SQLPLUS GUI and I don't know what the USERID / PASSWORD would be.
    Any help. Thanks

    Joel,
    I'm having the same problem logging into sqlplus. I just installed the Oracle9i client for Microsoft Win2k Pro. The installer gave me 3 options to install 9i. The full version, the client version, and custom. I chose to install only the client so that I can practice my sql.
    I followed your directions below (sqlplus /nolog...conn / as sysdba etc.), but I still couldn't connect to sqlplus.
    The message I get is:
    "ORA-12560: TNS:protocol adapter error".
    Please help! I'm not trying to do anything fancy. I just want to load the demo tables so that I can do my exercises.
    Thanks
    H

  • OEL 6 install - invalid credentials when logging in through web client

    I've installed 11g XE on Oracle Enterprise Linux 6.1, seems to be running fine and listener is up. I can successfully log into SQLPlus using sys as sysdba via oracle user, but when I try to run APEX or QuickStart or RCU using the same credentials, I get "invalid credentials". I'm trying to get full FMW install and obviously need RCU to build schemas, so I'm stuck. Any advice would be appreciated.

    Hello,
    FMW does indeed install and run on top of XE as long as you set character set and parameters appropriatelyWhere do you adjust that charset? It should be FMW, not XE...
    I can't get into APEX for example as SYSWhat do you mean with "APEX" in that context? The APEX Administration would have "ADMIN" as default account, using the same password you assigned in the installation wizard.
    If you refer to the "Get Started"-URL (http://127.0.0.1:8080/apex/f?p=4950), this is an XE-specific APEX application that doesn't use APEX authentication, but database user authentication instead. For this application, your SYS password should work, as it's actually exactly the same authentication you get for your command line.
    Perhaps it would help to know which URL you are calling and which value you enter for username. Note that "SYS AS SYSDBA" would not be a valid username (because it includes the role), whereas just "SYS" is okay.
    The one thing RCU, APEX, etc. have in common is that they're web clients.XE uses the so called "Embedded PL/SQL Gateway" hosted by the database internal XDB HTTP Server by default. Though a web server, it's not a real client to the database, as it doesn't connect external. The only external part is the HTTP communication, but this seems to work fine since you didn't report that you don't get the login screen for APEX...
    -Udo

Maybe you are looking for