Default SQLPlus host string

I installed 9.0.1.1.1 on a Win2k PC with default setup using the Oracle Installer. Afterwards, I also installed the OEM on the same machine. For some reason, when I login to SQLPlus without specifying an Host String, SQLPLus always logins into the OEM instance, OEMREP. Does any one know where I can change the defaut Host String back to the original instance?

You can argue that there is no such thing as a default username, password, and host string for Oracle.
You can also potentially respond with instructions to try to log on as sysdba
sqlplus /nolog
connect / as sysdbaIf you are a member of the appropriate Oracle group you are now connected as user SYS. I do not consider this as a default user.
You should create and grant appropriate privileges to application and DBA usernames.
The default instance names for Oracle installed on Windows are XE for Express and ORCL for regular Oracle though this last can be changed.
HTH -- Mark D Powell --

Similar Messages

  • SqlPlus 8.0/host string

    Hi,
    I've download 8i lite, I'm a new user of oracle & I can't open sqlplus 8.0.
    a window ask me user and pass, I give "scott"
    and "tiger" but an host string is asked and I don't know the answer, I don't find it through the pdf file or through this forum.
    Sorry to be a begginer, does anybody can help me?
    Thanks. :)

    Hi,
    Please Check Ur Database Is In Open State.
    Put A Entry In TNSNAMES.ORA
    null

  • Default host string?

    What's the default host string for oracle 8i personal edition?

    I'm not sure. You might want to read:
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/network.920/a96580/gettings.htm#483215
    That'll show you how to enter/edit your client to connect to databases. You might also want to post this question to the Products > Databases > General forum for a better answer.
    Alison

  • Host String Problem

    Hi everyone, i searched the forum and found same problem with me but i did not work for me. The problem is i cannot connect my sql plus. i enter my username and password then it asks me gor host string but when i type it and enter "ok" it says "TNS Listener does not currentl know of service requested in connect descriptor. i looked at my tnsnames.ora file and is exactly like this.
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    CSE348 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Canavar)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = cse348)
    So what shoul i type to connect sql plus?

    Given the tnsnames.ora content, the following needs to be entered for sqlplus in order to have it use that connection string in the file:
    sqlplus scott/tiger@CSE348As you have not qualified the alias with a domain, it will default to "+.world+" as far as I recall. If the default domain in your local sqlnet.ora differs, than that default will be used to find alias CSE348 in the local tnanmes.ora file. So make sure that you do not mix default and explicit domain names. Rather specify a default domain in sqlnet.ora and use the same domain for defining full qualified domain name TNS aliases in tnsnames.ora.
    As for the error - the Listener receives a connection request for a service called cse348 - and no such service has registered with it. You can check the known services of the listener using the "+lsnrctl services+" command on the server.
    Often in this case, it is easier to request a specific database instance using its system identifier, or SID. In which case you can change your connection string for the alias to use a SID as follows:
    CSE348 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = Canavar)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SID = cse348)
      )This assumes that the SID is cse348. The default SID is for example orcl. SIDs like dev and prod are also often used.

  • Host string and new users

    Hi, I've just installed DevSuiteHome1, OraDb10g_home1, and Oracle Developer Suite - DevSuiteHome1 and will be creating forms for an assignment. I've managed to log in to SQL*Plus with: "/ as sysdba" and successfully created a new user with a password and created a table "student", what privileges should I give this user (currently DBA) to allow them to access simple forms?.
    When I log in to SQL*Plus I get in without entering a "Host String", do I need this? What is a Host String?
    Also, though I don't need the database name just yet, I'd like to know how to find it!
    Thanks for reading, I'm grateful for any help.
    Will.

    The more formal way of reading that is
    sqlplus user/password@service-information
    where service-information is somehow translated into a combination of 3 pieces of information
    1) how to find the host or computer where the database resides
    2) which port the listener is monitoring
    3) which service (commonly mistaken as database) to which the listener should provide a connection
    (A database, when 'running', has a default service that matches the database name.)
    If you are logged on the the same machine as the database, you can bypass the network and the listener by setting the ORACLE_SID and implying the 3 pieces of information.
    If you are remote, there are several ways of getting the 3 pieces. The most common is to use the TNSNAMES.ORA to translate the service-information alias into the needed information. The translation could also be stored in an LDAP database Using InstantClient you have added variations, such as 'supply the host name and assume the listener is monitoring port 1521 for one and only one database', or supplying the whole translation manually.

  • Where I have to give the host string name of oracle server in WSAD?

    hi,
    I setup the oracle in my WSAD.But,Its giving below error.
    [3/16/06 13:25:41:332 SGT] 3e75fec4 WsServer A WSVR0001I: Server server1 open for e-business
    [3/16/06 13:25:42:535 SGT] 68bb7ec6 WebGroup I SRVE0180I: [Sample] [Sample] [Servlet.LOG]: ResultData: init
    [3/16/06 13:25:42:551 SGT] 68bb7ec6 SystemOut O the connection started
    [3/16/06 13:25:42:551 SGT] 68bb7ec6 SystemOut O no connection
    [3/16/06 13:25:43:535 SGT] 68bb7ec6 ConnectionFac I J2CA0122I: Resource reference jdbc/MyDataSource could not be located, so default values of the following are used: [Resource-ref settings]
         res-auth: 1 (APPLICATION)
         res-isolation-level: 0 (TRANSACTION_NONE)
         res-sharing-scope: true (SHAREABLE)
         res-resolution-control: 999 (undefined)
    [Other attributes]
    isCMP1_x: false (not CMP1.x)
    isJMS: false (not JMS)
    [3/16/06 13:25:44:285 SGT] 68bb7ec6 FreePool E J2CA0046E: Method createManagedConnctionWithMCWrapper caught an exception during creation of the ManagedConnection for resource jdbc/MyDataSource, throwing ResourceAllocationException. Original exception: com.ibm.ws.exception.WsException: DSRA8100E: Unable to get a PooledConnection from the DataSource.
         at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:244)
         at com.ibm.ws.rsadapter.exceptions.Dat
    [3/16/06 13:25:44:426 SGT] 68bb7ec6 SystemErr R      at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:109)
    [3/16/06 13:25:44:426 SGT] 68bb7ec6 SystemErr R      at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:77)
    [3/16/06 13:25:44:426 SGT] 68bb7ec6 SystemErr R [3/16/06 13:25:44:426 SGT] 68bb7ec6 SystemOut O Error on find the database() : java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    SGGSGPTP31DT197.code1.emi.philips.com:1521:CESS
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:59)
    [3/16/06 13:25:44:426 SGT] 68bb7ec6 SystemErr R      at com.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:759)
    [3/16/
    But,I given correct URL.The URL I given is
    jdbc:oracle:thin:@sggsgptp31dt197.code1.emi.philips.com:1521:CESS
    sggsgptp31dt197.code1.emi.philips.com -- this is my host machine.
    I think the problem with host string.
    actually when we are trying to enter into the oracle sql,it asking the username,password and host string.I mentioned the username and password in variables tab.I don't know where I have to mention the host string name.
    Please any one help on this.
    Thank you,
    D.Nagireddy.

    I would say that, since the OP has so little info, there are no policies in use.  It there were then this question would never be asked the way it is being asked.
    I had a client call with a letter from their insurance company; an accountant with malpractice insurance.  THey asked the same question inmuch the same way.  "What computer can you users access?"  The question should be more like
    "Do you have a policy that restricts access to computers and do you audit for compliance?"
    I have had other clients whose insurance asked the question in that way.  It produces a better view of what should be happening and how to show compliance.
    I recommend that companies being asked these questions by their legal departments or insurance companies should contract with a god computer security consultant to assist with answering these very tricky questions.  Of course if it is just you boss's
    curiosity  then you may need to discuss his requirements with him in more depth.
    ¯\_(ツ)_/¯

  • Password and host string

    Hi,
    Im trying to get the Oracle 8i for 2000 to run correctly. I did a download. Problem is getting pass the password screen. The host string is giving me trouble. What should go there? Any place where the password and host string info are stored for later retrieval?
    thanks,
    Cindy

    If you installed the default database then you should type in system as the user and manager for the password and ORCL as the host string (these are the defaults).
    The hoststring names (database aliases) would be in the tnsnames.ora file uder your Oracle_Home/network/admin directory
    If you login as system or a user that has DBA privileges, you can change passwords as you see fit
    syntax:
    alter user identified by somepassword;

  • [b]Listener problem while configuring host string through NET config[/b]

    Hi,
    I am unable to create host string through Net config. While testing with userid/password, the test does not succeed.
    The host string configured is known as PROCESS.
    Net config error message while testing the connection is as follows:
    "Connecting...ORA-12541: TNS:no listener
    The test did not succeed.
    Some of the information you provided may be incorrect.
    Press back to review the information provided for net service
    name, or Change Login to change username."
    Upon checking the status of listener from command prompt it gives following status:
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Produc
    tion
    Start Date 08-JAN-2003 16:25:08
    Uptime 0 days 16 hr. 9 min. 33 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File C:\orant\network\admin\listener.ora
    Listener Log File C:\orant\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
    Long postings are being truncated to ~1 kB at this time.

    Did you check that the DB is up ? If not, then check it and, eventually, start it up.
    If yes, then open a DOS window, set your ORACLE_SID, connect to Sqlplus as sysdba and type :
    SQL> show parameter service
    what is the result ?

  • Problem with host string

    hi
    i am new here
    2 days ago i was finish my database administrator course.-it mean that is the first course from 6(as much i know)
    first you should know that english is not my lang so if i will maskes i am sorry
    anyway after i am talking about me i will talk about my problem
    i am trying to connect to sqlplus
    after i click on this tool i get
    user name:
    pass:
    host string:
    i know that i need to go to the file tnsnames.ora and take from there the host string
    i did that and after the parameter "host=" i saw the host string name.
    after i did that i tried to connect with sysdba but without pass cuase if i conn with sysdba i dont need pass
    in "host string " i write the host string accurding to the tnsnames.ora ang it doesn't work
    as aresult i get a line that ask me the pass what sould i do?
    tasks to all of you![b]

    "Host string" entry to connect through SQL*Plus is the SID entry from the tnsnames. Not the parameter host=...
    This is the first parameter, something else like the following :
    DEMO92 =
      (DESCRIPTION =
        (ADDRESS_LIST =...The host which you said is the hostname which is the host of the database, not thedatabase itself.
    Nicolas.

  • Database host string problem

    When I connect with an oracle database using DriverManager.getConnection() I have to use the database name for example orcl. I'd like to use the host string, the same as in SQLPlus. How can I do it?
    And what is the difference between thick driver and thin driver?

    I'd like to use the host string, the same as in SQLPlus. How can I do it?
    Refer
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#05_00
    what is the difference between thick driver and thin driver?
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#22_00
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#23_04
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#35_01

  • How to provide host string

    hi i am using oracle client, my server is at some other location
    user:
    pass:
    host string:
    i have server database username,password,ip address, port number and database name
    how can i connect to my oracle database.
    Regards
    Naren

    Narendar.Vishwanatham wrote:
    i would like to connect from sql plusExample:
    /home/billy> sqlplus scott/tigerg@"(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=196.1.83.32)(PORT=1521))(CONNECT_DATA=(SID=ora)(SERVER=DEDICATED)))"
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jan 28 13:26:01 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL>Or if you have a tnsnames.ora file configured (and +$TNS_ADMIN+ or +$ORACLE_HOME+ set), you can use the alias for such a connection string, as oppose to the string itself.

  • Asking for host string

    Hi,
    I have downloaded the Oracle 9i personal edition on a Windows98 system. When I am trying to run the sqlplus.exe file, it asks me for User ID,Passww, Host string. What host string am I supposed to give? Its a standalone application that I want to run Oracle 9i as. Please guide me.
    Thank you.
    Srikanth Turaga
    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    - Date/Time
    - Browser + Version
    - O/S + Version
    - Error Msg

    SQL*Plus Issue:
    Right-click on the SQL*Plus short-cut that give you TNS error and see which executable it points to. Most probably this is the one in you newly installed Dev Suite directory.
    Next, Check the contents of TNSNAMES.ora file in the following directory:
    C:\DevSuiteHome_1\NETWORK\ADMIN
    (whichever drive/disk you installed Dev Suite in).
    This file must contain TNS entry of the database you intend to connect to using Dev Suite applications (Forms, Reports, SQL*Plus, etc).

  • Host String for SQLPlusw

    What should be the host string for SQLPlusW login.
    Oracle Server (HP Unix) and the SQLPlusw login (windows platform) are at different box.
    Oracle 10g R2.
    Thank you,
    Smith

    Update this entry for <SID NAME> & <host ip adress> first, and add it to the tnsnames.ora file at $ORACLE_HOME/network/admin
    my_db = (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)
    (HOST=<host ip adress>)(PORT=1521) )
    (CONNECT_DATA=(SERVICE_NAME= <SID NAME> )))
    and then check on shell prompt: $tnsping my_db
    If it works then you can access your database using following command on shell prompt: $sqlplus username/pwd@my_db.
    For easy connection identifier use:
    $sqlplus username/password@<host ip adress>:<port nu. eg. 1521>/<SID NAME>

  • How to identify the host string in Oracle on Unix

    Help me out to identify the SID in Unix. When I try to connect scott/tiger@mydatabase, it results in error, previously I used to access. When I try connecting scott/tiger without host string it connects. Please help me out finding the host string. Working on Unix.
    Thank you.

    echo $ORACLE_SID on the UNIX shell, this will tell you the sid that you are connecting to. you want to change the connect string
    say
    ORACLE_SID=<new_sid> then use sqlplus you will get connected to newsid.

  • Disable default read community string

    I would like to know the procedure to disable the default read community string which is "public" and change create a new read community string using SMC 3.0

    In your topology view, right click on a host, select "Attribute Editor". Then click the "Security" tab. There are sections here to control the user and group access control as well as the SNMP community string settings for the agent. You can make changes to the community string and hit "OK".
    Regards,
    Jeff Grabell
    www.cirba.com

Maybe you are looking for

  • Duplicate Report

    Hi, I need to develop a report where makes necessary replicate it for print in the same sheet, for example, when an Service Order will be generated, i'll have a option of print that service order in the same sheet, like a documents in two ways. Someo

  • Issues opening a BI 7.0 query in to 3.x query designer?

    Hi, I opened a 7.0 based query in to 3.x query designer. I have couple of concerns that are listed below: 1. First of all is it ok to open 7.0 query in 3.x query designer? if no what are the Consequences? 2. A warning message displayed saying that th

  • SL 10.6.8 combo update keeps failing on me

    I have a mid 2009 macbook pro 13in. that came with in Leopard. In anticipation of Lion, I bought a retail copy of Snow Leopard being 10.6.3. I needed to upgrade to 10.6.8 to be able to get mac app store. But everytime i run software updater and downl

  • Regarding Connecting Two Systems

    HI, I hav a doubt, is it psbl to connect Non-SAP System with SAP System through ALE for data transfering, If it can be done can anyone pls send me the details. Any suggestions will be much appreciated. Thanks and Regds Ramesh.

  • Why won't my internal speakers show up in settings?

    I have tried plugging in headphones, and when i take them out, no red light appears like others say.  Also, in the sound settings, there is no built in speakers to click on.  All of this happened after I deleted a program off my computer, and restart