Need help w. connecting to oracle 10g express

I have been having extreme difficulty with connecting to oracle 10g express edition. what do I put in at the SQL > prompt to access sql plus? Are there first some env. variables which I need to set? Sorry for the basic "newbie" question about this.

what do I put in at the SQL > prompt to access sql plus?You may trySQL> conn / as sysdbabut don't use this one for your application data, create your own user(s) instead.
Are there first some env. variables which I need to set?Depends... what's your operating system, and are you running sqlplus from SQL command line or from OS prompt ?

Similar Messages

  • ODBC connection to oracle 10g express

    Hi , please i need help in connecting a MS Access file under odbc (System Dsn) to oracle 10g express and how to be accessed in oracle forms 6i , but please if any one can help me by a step by step and more details about that problem i will be so grateful .
    Thanks...!!

    user12251261 wrote:
    I will explain what I did.Always a good start...
    and click on OK button. This way I added new connection. After that I was trying to rename the DSN connection name to SOURCE(Oracle_10g). there is no rename button. So i thought I remove this connection and add again. But when I try to add it. It will not add it. I follow the same procedure as i mentioned above. But finally when I click on OK button. it is not showing any new connection name under User Data Sources list. It is not giving any error messages.The ODBC Manager software is used to define and maintain ODBC connection aliases (aka DSN ). It enumerates the list of available drivers, interact with the driver when you want to use it to create an alias, and then stores the alias when defined.
    If this does not work, and the alias is not stored, it is not an Oracle XE problem, but something weird with the ODBC Manager.. or how you go about defining the alias/DSN.
    You can create user or system DSN's. You need certain privs (in your Windows account) to enable ODBC Admin to write the required changes to disk for that DSN. Etc.
    I suggest focusing on these aspects as I strongly doubt that Oracle itself is part of the problem in this case.

  • How to connect to ORACLE 10g Express Edition using struts?

    HI! There
    I am using Oracle Jdeveloper as IDE, JBoss as application server, Oracle 10G Express edition as DBMS. As I am new to Struts & Jboss, so Can anybody tell me that How to connect to Database? Please also give Struts-config.xml datasource config too.
    If someone can give a set of codes to enter and retrieve the data to/from database it will be really help full for me. Well connectivity with any version e.g. 9i, 10g, 10g XE will do......
    Thanks

    Well I have already configure a datasource in struts-config.xml as Stated below:
    <data-sources>
    <data-source>
    <set-property property="autoCommit" value="false"/>
    <set-property property="description" value="Data Source Config. for SMS"/>
    <set-property property="driverClass" value="oracle.jdbc.OracleDriver"/>
    <set-property property="maxCount" value="4"/>
    <set-property property="minCount" value="2"/>
    <set-property property="password" value="password"/>
    <set-property property="url" value="jdbc:oracle:thin:@127.0.0.1:1521:XE"/> <set-property property="user" value="sms"/>
    </data-source>
    </data-sources>
    Now the Only problem That I am facing is how to look up this data source from a Java file of Model layer.
    Please Guide me further

  • Max connections in Oracle 10g Express

    Hi,
    How much connections are possible in Oracle 10g Express ?

    I do the following test:
    I format the test PC, install the O.S. and install Oracle 10g Express and run the following code:
    package testedb;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.util.ArrayList;
    import java.util.List;
    public class TesteDB {
         * @param args
         public static void main(String[] args) {
              List<Connection> connections = new ArrayList<Connection>();
              try
         Class.forName ("oracle.jdbc.driver.OracleDriver");
         while(true)
              connections.add(DriverManager.getConnection("jdbc:oracle:thin:@albatroz:1521:XE", "system", "xxx"));
              //connections.add(DriverManager.getConnection("jdbc:oracle:thin:@albatroz:1521:MYDB", "system", "xxx"));
              System.out.println("connections: "+connections.size());
         catch (ClassNotFoundException e)
         System.out.println ("Could not load the driver");
         e.printStackTrace ();
         } catch (SQLException e) {
              System.out.println("----------------------------------------------------------");
                   System.out.println("Qtd of connections: "+connections.size());
                   System.out.println("----------------------------------------------------------");
                   e.printStackTrace();
    After the first test I format again the PC, install the O.S. and install Oracle 10g Standard and run the same code, changing only the database name.
    Well, I get the following results:
    - Oracle 10g Express: I get 19 connections;
    - Oracle 10g Standard: I get 181 connection;
    Final report:
    With the same hardware (1GB RAM) and O.S. (Windows XP Professional) test, the Oracle 10g Express has any restrictions at the question max connections.
    Message was edited by: Hugo Haas
    Hugo Haas

  • Need help, implementing streams between oracle 10g databases

    Hello all.
    Please help me, and give me instruction if any body implement streams between databases (Oracle 10g)
    I have implemented streams between schema table on (10g) and result was success.
    Firstly I want to know some thing, such as:
    1) Is it possible make streams with conditions, (make only DML or DDL i know) but make DML and not DELETE operation, just INSERT and UPDATE operations on the table?
    2) After changes was applied on target database, can I delete that records which copied (replicated) on source database?
    I have 2 databases and one of them is for archive purpose (I want use it as target database for streams). Other one is PROD database, applications make DML operation.
    I) record insert with null status
    II) processing (status 1)
    III) if success (status 2) unsuccess (status 3)
    For now, I have cron script on (Linux host) and in this script has PLSQL anonymous block and it works couple times during the day. This script works as archive.
    My task is: Make it via Oracle streams.
    Thank you beforehand.

    For conditions on the type of operation (Insert) check in the doc after apply handler and you can associate what ever code and conditions you want. You can also choose to work with a subset rules but there are some restriction as no lobs :
    [http://download.oracle.com/docs/cd/B28359_01/server.111/b28321/strms_rules.htm#insertedID7|http://download.oracle.com/docs/cd/B28359_01/server.111/b28321/strms_rules.htm#insertedID7]
    For a complete list of the restrictions :
    [http://download.oracle.com/docs/cd/B28359_01/server.111/b28321/ap_restrictions.htm#i1012965|http://download.oracle.com/docs/cd/B28359_01/server.111/b28321/ap_restrictions.htm#i1012965]

  • Need help: Silent install of oracle 11g express edition does not install services.  As a result, i'm unable to start\launch database

    Installing using the GUI works fine.  I'm using the following code to perform the silent installation of the oracle client: C:\temp_pyx\Oracle source\3-Oracle 11G Express\setup.exe /S /f1"C:\temp_pyx\Oracle source\3-Oracle 11G Express\response\OracleXe-install.iss" /f2 "c:\windows\logs\paychex\oracle11ginstall.log"
    Result code in "oracle11gisntall.log" shows "result = 3"
    response file is configured as follows:
    **  Response file to perform silent install of Oracle Database 11g Express Edition    **
    **  Values for the following variables are configurable:                              **
    **  szDir - Provide a valid path                                                      **
    **  TNSPort - Provide any valid available port number                                 **
    **  MTSPort - Provide any valid available port number                                 **
    **  HTTPPort - Provide any valid available port number                                **
    **  SYSPassword - Provide a valid password string                                     **
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-DlgOrder]
    Dlg0={05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdWelcome-0
    Count=7
    Dlg1={05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdLicense2Rtf-0
    Dlg2={05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdComponentDialog-0
    Dlg3={05A7B662-80A3-4EB9-AE1D-89A62449431C}-AskPort-13013
    Dlg4={05A7B662-80A3-4EB9-AE1D-89A62449431C}-AskSYSPassword-13011
    Dlg5={05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdStartCopy-0
    Dlg6={05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdFinish-0
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdWelcome-0]
    Result=1
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdLicense2Rtf-0]
    Result=1
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdComponentDialog-0]
    szDir=C:\programdata\oraclexe
    Component-type=string
    Component-count=1
    Component-0=DefaultFeature
    Result=1
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-AskPort-13013]
    TNSPort=1521
    MTSPort=2031
    HTTPPort=8080
    Result=1
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-AskSYSPassword-13011]
    SYSPassword="Intentionally left blank"
    Result=1
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdStartCopy-0]
    Result=1
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdFinish-0]
    Result=1
    bOpt1=0
    bOpt2=0

    I only see the following folders after install, which tells me that although the program shows up in program and features, it is still not successfully installed?

  • Problem connecting to Oracle 10g express on linux SUSE

    Peace upon you,
    I have downloaded the RPM file and installed it , but when i try to log in the home page using "Go to database home page" the browser says that the page is not found.
    And when i type in the terminal : ./oracle-xe status
    the terminal says :
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 16-FEB-2007 09:46:35
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ACA8011A)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    Linux Error: 2: No such file or directory
    So what is the problem..........?

    I've managed to get OracleXE working properly on my SuSE10.2 box - I found an interesting issue - did you specify that the oracle database should not start up on system boot?
    (Check ORACLE_DBENABLED parameter in /etc/sysconfig/oracle-xe)
    If this is set to FALSE, the database will not start up. You'd need to:
    su to root
    su - oracle (note the '-')
    sqlplus /nolog
    connect / as sysdba;
    startup;
    exit;
    lsnrctl start
    - All the above is a manual startup - hope that helps....
    Carl.
    (PS: if you want to access the database from behind the firewall, you'll need to go into YAST, security, firewall, then advanced, and specifically open TCP port 1521, also port 8080 if you want to be able to view the web front end on another machine.... sometimes the firewall can be a pain...)

  • Connection to oracle 10g express from jdev 10g

    hi,
    when i try to make a connection to my database from jdev 10g.
    i receive a message "network adaptator could not estabilished the connection".
    however when i try to connect with the same parameters in an other pc the connection is termineted successfully.
    thanks for help

    For XE database SID is XE

  • Can not connect Oracle 10g express edition from report builder.

    I have newly installed report builder . Different home was selected for Report builder and oracle. Oracle database server is also in the same machine. But i am not able to connect my oracle 10g express edition database. It throws error ORA-12154 : TNS could not resolve service name.( same error displayed while trying to connect from SQL Plus).But from toad i am able to access the database. May be because here I am able to select the proper home.
    Here i am adding my tns entry
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 1ECA66A679AB494)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    can any one suggest what the actual problem is?
    Thanks ..........

    Hello,
    Oracle 10g XE is rather specific and, I'm not sure that you can upgrade it to 10.2.0.4 .
    However, Oracle published an Upgrade Guide for Oracle Express Edition but, it's limited to *10.2.0.3*:
    http://download.oracle.com/docs/cd/B25329_01/doc/server.102/b32391/toc.htm
    But be careful:
    Once you have upgraded to Oracle Database 10g, you cannot downgrade back to Oracle Database Express Edition.Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on May 22, 2010 12:06 AM

  • Connection of java and oracle 10g express edition

    hello!!!!!
    I'm new to databases as well as JDBC. I want to know how to connect to oracle 10g express edition with java to create a desktop application.
    Let me know step by step procedure if possible.....
    Also tell me which softwares or drivers other than oracle 10g and jdk1.6 will be required......
    Do i need to keep all the required softwares and drivers in the same folder???
    please give any other information which is required for the connection
    thank you!!!

    hello!!!!!
    I'm new to databases as well as JDBC. I want to know how to connect to oracle 10g express edition with java to create a desktop application.
    Let me know step by step procedure if possible.....
    Also tell me which softwares or drivers other than oracle 10g and jdk1.6 will be required......
    Do i need to keep all the required softwares and drivers in the same folder???
    please give any other information which is required for the connection
    thank you!!!

  • Using JDeveloper with Oracle 10g Express Edition

    Hi,
    can JDeveloper 11g 11.1.1.4.0 Studio Edition be used to develop applications connection with Oracle 10g Express Edition?
    If not, is there a version downloadable that can?
    TIA

    Yes, it can.
    John

  • Problem in connecting netbeans with oracle 10g express edition

    hi friends... i need help in connecting the database with netbeans..... in netbeans, under services option... i have a option for database... but am not getting any drop-down while right clicking to add a new database... i tried in both netbeans6.9 and netbeans7... what should i do to connect netbeans7 to oracle 1og express edition.... pls help me friends.... pls do reply

    First of all, I think your dot... button is broken, it keeps repeating which makes it SO much harder to read your post.
    Secondly, I suggest you take your question to the Netbeans mailing lists. This is a Java programming forum, not a technical support forum for the hundreds of tools available to support Java programming.
    http://netbeans.org/community/lists/index.html

  • Can i work with oracle 10g express edition by connecting it with visuval studio 2010?

    i have oracle 10g-express edition,and visuval studio 2010, can i have a connectivity between these two?or it requires any additional installations,or any special procedures for installing it? HELP ME..

    You might want to post this in the Oracle 10g XE support forum, where you might get a better response. The is is the support form for Oracle App Express..
    Thank you,
    Tony Miller
    Monroe, WA

  • Connecting oracle 10g express edition to jdeveloper

    I am having all kinds of problems connecting oracle 10g express edition with my jdeveloper 10.1.3.3. I can query the database from my command line so I know it is set up, but for whatever reason jdeveloper will not connect with it. When I try to connect with the database through jdeveloper here is the error I keep getting:
    Listener refused the connection with the following error:
    ORA-12518, TNS:listener could not hand off client connection
    The Connection descriptor used by the client was:
    localhost:1521:ORCL
    I have been all through the google results looking for an answer and have come to the conclusion that it is something with either the listerner file or the tns file, but as of yet have been unable to locate them. here are both of those files too.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ##########)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = #########)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Please any help would be appreciated I have been at this for days, thanks.

    This has to be some kind of bug with 10g express because I see lots of people having similar problems. I'm in the process of uninstalling 10g, and I will re-install it see if that makes a difference. Again if anyone has any other ideas please keep them coming because this is utter BS it shouldn't be this hard.

  • How do I connect from Crystal Report version XI to Oracle 10G express?

    I'm new to oracle 10G express and I'm developing an application that needs reports to preview some data from oracle tables.
    The oracle database is installed on the server and I installed the client on my machine. I need to use the crystal report 11 to report the output. Thus, I designed a crystal report that should simply read a table on oracle and though I need to be able to connect to the oracle 10G Express Edition database. I tried to create a connection from the crystal report using the Database Expert >> Create New Connection >> Oracle Server and I include the following parameters.:
    - Service: host:1521/XE
    - Username: username
    - Password: password
    Then when I tried to connect the crystal report crashes always.
    Is there any way to create a connection to the Oracle Database 10G express from Crystal Report 11?
    Please advise...

    Thank you bala,
    First, How I should start the Listener on the database server?
    Listener.ora content:
    SID_LIST_LISTENER =
    +(SID_LIST =+
    +(SID_DESC =+
    +(SID_NAME = PLSExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +(SID_DESC =+
    +(SID_NAME = CLRExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +)+
    LISTENER =
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +)+
    +)+
    DEFAULT_SERVICE_LISTENER = (XE)
    How to configure the tnsnames.ora on the client side?
    tnsnames.ora content:
    XE =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +(CONNECT_DATA =+
    +(SERVER = DEDICATED)+
    +(SERVICE_NAME = XE)+
    +)+
    +)+
    EXTPROC_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = PLSExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    ORACLR_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = CLRExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    Now I`m trying to initialize this on one machine (database & client) and so the crystal report will be on the same machine where the database exist; Additionally, this machine has OS Windows 7 Ultimate 64bit and include the Oracle 10g Express Database & Oracle 10g Express Client software.
    Please check the files content I included above and give me the way on how to establish a connection from the crystal report to the database where both are installed on the same machine.
    Thanks in advance...

Maybe you are looking for

  • Scheduling of process chain with background job

    Hello All,               I have scheduled the process chains through background jobs. I have copied the meta chain and created seven background jobs that is from Monday till sunday. The problem is most frequently the job gets cancelled with the messa

  • Why won't my Macbook Pro recognize my iPhone 5s?

    SPECS: Macbook Pro Retina, Mid 2012 (OS X Version 10.9.1) = up to date iTunes (Version 11.1.4) = up to date iPhone 5s (Version 7.0.4) = up to date My Macbook Pro won't recognize my iPhone when I plug it in. The problem is not related to cable issues

  • Mail crash on IMAP account Yosemite 10.10.1

    Hello, Mail app crashes at startup when I add my university IMAP account. Adding icould account works fine. The Yosemite upgrade don't fix the problem. Thanks for your answers. Her is the crash report Process:               Mail [715] Path:          

  • Urgent* Device Not Detected by Firewire

    I'm using a 20" iMac 10.4.1, FCP 5.1.4 along with the Panasonic Pv-GS250 and trying to capture footage. The camcorder is set to playback. FCP is showing Unable to Initialize. System profiler doesn't show the camcorder as being plugged in under the fi

  • Gedruckte Seiten werden skaliert (vergrössert / verkleinert)

    Ich habe soeben das System von SnowLeopard auf Mavericks umgestellt. Beim Drucken aus InDesign oder PDF-Dokumente aus AcrobatReader oder AcrobatPro unter Verwendung eines benutzerdefinierten Papierformats (zB für Karten, Couverts) wird die Seite auto