Create connection with Oracle SQL Developer

Hello,
my test to connect my Oracle database with SQL*PLUS works. Here I need only the username (I test with system), my password and the hostname (orcl).
Now I want to create this connection with the SQL Developer.
Here I need the Port. I don't know the port of my database. How can I find it out?

Hi, the port must be the used by listener, review the $ORACLE_HOME/network/admin/listener.ora file or get the listener status(lsnrctl status) for get the correct port.
You can try with the default port. (1521).
Luck.
Havea good day.
Regards.

Similar Messages

  • Problems using SQL*Loader with Oracle SQL Developer

    I have been using TOAD and able to import large (milllions of rows of data) in various file formats into a table in an Oracle database. My company recently decided not to renew any more TOAD licenses and go with Oracle SQL Developer. The Oracle database is on a corporate server and I access the database via Oracle client locally on my machine. Oracle SQL Developer and TOAD are local on my desktop and connected through TNSnames using the Windows XP platform. I have no issues with using SQL*Loader via the import wizard in TOAD to import the data in these large files into an Oracle table and producing a log file. Loading the same files via SQL*Loader in SQL Developer, freezes up my machine and I cannot get it to produce a log file. Please help!

    I am using SQL Developer version 3.0.04. Yes, I have tried it with a smaller file with no success. What is odd is that the log file is not even created. What is created is a .bat file a control file and a .sh file but no log file. The steps that I take:
    1.Right click on the table I want to import to or go to actions
    2. Import Data
    3. Find file to import
    4. Data Preview - All fields entered according to file
    5. Import Method - SQL Loader utility
    6. Column Definitions - Mapped
    7. Options - Directory of files set
    8. Finish
    With the above steps I was not able to import 255 rows of data. No log file was produced so I don't know why it is failing.
    thanks.
    Edited by: user3261987 on Apr 16, 2012 1:23 PM

  • Am not able to connect to oracle sql developer first time

    Hai all,
    am not able to connect  to oracle sql developer first time in my windows server.
    in my server sql developer icon is not showing in "all_programs>oracle_home>application development".
    am first time working in windows env..
    server : windows
    database_version:11.2.0.3
    please let me konw how to connect to the sql developer.
    Thanks,
    subbu

    am not able to connect  to oracle sql developer first time in my windows server.
    in my server sql developer icon is not showing in "all_programs>oracle_home>application development".
    am first time working in windows env..
    server : windows
    database_version:11.2.0.3
    please let me konw how to connect to the sql developer.
    Did you perhaps do a custom install? The DB software includes a version of sql developer and, by default, installs it in the sqldeveloper folder of the DB_HOME. Does that folder have sql developer in it?
    I suggest that you NOT use the version of sql developer that ships with the database. That version will NOT be the current version.
    Download the current version of SQL Developer, unzip it into a new folder and create a desktop icon for it.
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
    The current version includes many, many bug fixes from that earlier DB version and you will have far fewer probems with it.

  • Developerday  VM Ora-12505 Getting Started with Oracle SQL Developer 3.0

    Just downloaded the VM , Started the tutorial Getting Started with Oracle SQL Developer 3.0
    As mentioned in tutorial , I was trying to make a new connection and I am getting following error
    Ora - 12505 : TNS Listener doesn't currently know of SID
    I gave SID as orcl, and seems to be working OK, can I use orcl for this tutorial
    Edited by: OrcArgusDev on Apr 13, 2012 9:01 AM
    Edited by: OrcArgusDev on Apr 13, 2012 9:11 AM

    Thanks, I'll survive. Just my luck, the first item I try to anon. debug didn't work! :)
    thanks, hopefully this problem will be few and far between

  • Problems when starting with oracle SQL developer

    Hello,
    I am very much new with oracle SQL developer. I use oracle 10g and have a database named 'pallabDB' with username: xxxxxx and paswd:yyyyyy. I have installed oracle SQL developer.But i am unable to start up.What i should do? If any body replies it will be a great help.Thanks in advance.

    But i am unable to
    start up.How to understand this sentence without confusion?
    Can you explain exactly what is your problem at start up of SQL Developer?

  • How to create databse in oracle sql developer

    Hi am using oracle sql developer but while connecting to the database i am getting error of network adapter
    if any buddy has a solution then fill free to post
    Thanx and Regards
    Umesh

    Can you be a little more specific with the error? The "network adapter" errors I've seen myself have been because SqlDeveloper can't connect to the database, either because the wrong host/port was given, or because a firewall was blocking the port.

  • How to connect from oracle sql developer ?

    I've made one java class, to access UserRecord Data Base from sql developer.
    My class file is :-
    import java.sql.*;
    import java.io.*;
    public class SelectData{
    public SelectData(){}
    public void selectData(){
              String url="jdbc:oracle:thin:@10.1.236.10:1521:dev92i";//connection url
         Connection con= null; //connection create
              Statement stat = null; //prepared statement create
              ResultSet rs=null; //result set to hold result
              try{
              Class.forName("oracle.jdbc.driver.OracleDriver");
              con = DriverManager.getConnection(url,"scott","tiger");
              stat = con.createStatement();
              rs = stat.executeQuery("select Name from UserRecord");
              while (rs.next()) {               // Position the cursor                 
                        // Retrieve the first column value
                        System.err.println("Name= " +rs.getString("Name"));
                        // Retrieve the first column value
                        System.err.println("Pswd= " +rs.getString("Password"));
              rs.close();
              catch(SQLException e){
                   System.err.println(e.getMessage());
              catch(ClassNotFoundException e){
                   System.err.println(e.getMessage());
              catch(Exception e){
                   System.err.println(e.getMessage());
              finally{     
                        try{
                        if(con!=null)
                             con.close();
                        catch(Exception e){
                             System.err.println(e.getMessage());
    public static void main(String args[]){
         SelectData sd=new SelectData();
         sd.selectData();
    When i run this class file it gives error :-
    "oracle.jdbc.driver.OracleDriver"
    Plz help me out from this problem and suggest any configuration if required in oracle sql developer to run my programs.

    {color:#0000ff}hi,
    add the jar for oracle jdbc to the libraries.
    if you are using any IDE then just change the project properties adding the jar file.
    if not edit the classpath of the envoirnment variables.
    {color}{color:#ff0000}*manik*{color}

  • ON UPDATE CASCADE and Autoincrement primary key with Oracle SQL Developer

    hello everybody,
    I want to know if Oracle SQL Developer manage autoincrement on primary key and "ON UPDATE CASCADE" when i migrate (with data) SQL Server database in Oracle database.
    Can you help me ?
    Thanks for your suggestions.

    Obtain the value of the auto increment key with the getGeneratedKeys() method.
    Statement stmt = null;
    ResultSet rs = null;
    stmt = conn.createStatement(java.sql.ResultSet.TYPE_FORWARD_ONLY,
                                    java.sql.ResultSet.CONCUR_UPDATABLE);
    stmt.executeUpdate("DROP TABLE IF EXISTS autoIncTable");
        stmt.executeUpdate(
                "CREATE TABLE autoIncTable ("
                + "priKey INT NOT NULL AUTO_INCREMENT, "
                + "dataField VARCHAR(64), PRIMARY KEY (priKey))");
    stmt.executeUpdate(
                "INSERT INTO autoIncTable  (dataField) "
                + "values ('data field value')",
                Statement.RETURN_GENERATED_KEYS);
    int autoIncKeyFromApi = -1;
        rs = stmt.getGeneratedKeys();
        if (rs.next()) {
            autoIncKeyFromApi = rs.getInt(1);
        } else {
        rs.close();

  • Issue with Oracle SQL Developer

    I use a oracle database for my process (LMS relared stuff)
    When i write a query which is expected to pull thousands and thousands of records. Why do i need to keep scrolling down to fetch more records.
    Why will it not pull all the records?
    I need to keep scrolling down till i get all the records.
    Any solution?
    (I'm using it for the first time in my life. i'm just 3 day old to this software)
    My O/S: Win XP Professional with 1gb of RAM.
    Oracle SQL Developer Version: 1.2.1 Build Main-32.13
    Is any other information required???
    Message was edited by:
    user599780

    This will be in the next release. However, if you want to put this in now you can make an extension ( there's examples on my blog) and put this chuck of code in:
    Connections.getInstance().addConnectionListener(new ConnectionListener() {
                   public void connectionAdded(ConnectionEvent evt) {}
                   public void connectionClosed(ConnectionEvent evt) {}
                   public void connectionModified(ConnectionEvent evt) {}
                   public void connectionOpened(ConnectionEvent evt) {
    Connection conn = Connections.getInstance().getConnection(evt.getConnectionName());
    if (conn instanceof OracleConnection){                                   
    ((OracleConnection)conn).setDefaultRowPrefetch(DBConfig.getInstance().getInt(DBConfig.ARRAYFETCHSIZE));
                   public void connectionRemoved(ConnectionEvent evt) {}
                   public void connectionRenamed(ConnectionEvent evt) {}
    });

  • Problem in connection to Oracle SQL Developer

    Hi All,
    I am trying to connect to remote machine database through Oracle SQL Developer, it is giving me teh following error.
    Status: Faliure -Test failed :io connection :The Network Adapter could not establish the connection .
    I had given the hostname as the name which is assigned to that server, it didnt work.
    Later i tried with the IP address of the Server, it worked.
    Can anybody tell me how can i connect by giving hostname instead of the IP address.
    Thanks in advance,
    Vinay

    Hi Vinay,
    One way would be to add an entry in your hosts file. On windoze you can find this in
    %SystemRoot%\system32\drivers\etc
    Regards
    Peter

  • Configuring RAC-aware JDBC connection in Oracle SQL Developer?

    How can Oracle SQL Developer be configured to properly connect to an [Oracle RAC|http://en.wikipedia.org/wiki/Oracle_RAC] environment, I.E., not just setup to always connect to one of the individual nodes?
    [http://programmersjournal.blogspot.com/2008/08/jdbc-connection-string-for-oracle-rac.html] has an example of a classic and the equivalent RAC-aware version of a JDBC connection string. I've already been using a RAC connection string of the same format from within custom Java applications without issue. I thought the same should be configurable in Oracle SQL Developer by setting the "Connection Type" drop-down to "Advanced", then entering the RAC-aware JDBC connection string as the "Custom JDBC URL". However, upon testing the connection, the following error is displayed at the bottom of the dialog:
    Status : Failure -Test failed: Io exception: NL Exception was generated
    There is no additional information shown on the "Logging Page" view. Using Oracle SQL Developer 1.5.5.
    Thanks!

    Thanks, Barry. Just F.Y.I., it is working for me now that I upgraded to the 2.1 EA as -K- suggested. I had marked his reply as "Correct", but probably should have left a response indicating my success as well.
    Now, if there's anything you could do regarding the [issues around the display performance of CLOBs, etc., in the Query Result view|http://forums.oracle.com/forums/message.jspa?messageID=3906571] , it'd be very appreciated!

  • Able to connect via Oracle SQL Developer, but not sql plus

    Using Oracle 10.2.0.
    I can connect using the TNS connection type in SQL Developer, but cannot do so in SQL PLUS. SQL Plus gives me the error -- could not resolve the connect identifier.
    When I do tnsping USPO_ADHOC, I get:
    C:\oracle\product\10.2.0\client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION =
    TNS-12533: TNS:illegal ADDRESS parameters
    So here is my tnsnames.ora file:
    INTL_ADHOC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.239.162.108)(PORT = 1521))
    (CONNECT_DATA =
    (SID = intl1)
    USSYN_ADHOC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.239.162.109)(PORT = 1521))
    (CONNECT_DATA =
    (SID = USSYN)
    USPO_ADHOC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.239.162.107)(PORT = 1521))
    (CONNECT_DATA =
    (SID = uspo)
    Any assistance gratefully appreciated. Thanks.

    I actually did not have that environmental variable, so I added it, but nothing changed.
    I would note that if I do tnsping foo, I get: failed to resolve name.
    If I do tnsping USPO_ADHOC, I get: illegal address parameter.
    In both cases, the output correctly identified the path to my sqlnet.ora file, which is in the same directory as my tnsnames.
    So I would conclude from that, that the system was already able to find my tnsnames file.
    Anyway, here's my sqlnet.ora:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    Thanks again for any ideas!

  • Debugging a PL/SQL with Oracle SQL Developer

    I am trying to debug pl in Oracle SQL Developer, have looked in
    http://www.oracle.com/technology/obe/11gr2_db_prod/appdev/sqldev/plsql_debug/plsql_debug_otn.htm#t5
    and there are not enabled the options "Data", "Smart Data", etc someone knows why?
    thank you.

    In the log windows, when debug, show tihis:
    Conectando a la base de datos OPAVID - Inventariado.
    Ejecutando PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Ejecutando PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '10.240.193.202', '2310' )
    Later, 1 min.
    show this
    ORA-30683: failure establishing connection to debugger
    ORA-12535: TNS:operation timed out
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    El proceso ha terminado.
    Desconectando de la base de datos OPAVID - Inventariado.
    so, do you think, the problem is a firewal, i can´t verify this.

  • Java error when connecting with new sql developer 3.1

    3.0 worked fine. I over-wrote the old version. so i need to see if i can find it to download.
    do i need to download a new version of java? I did the full download which included java. the install nstuctiions(on the download page just say to unzip the file.
    java.lang.NoSuchMethodError: oracle.dbtools.parser.LexerToken.parse(Ljava/lang/String;)Ljava/util/LinkedList;
         at oracle.dbtools.raptor.query.QueryUtils.matchesAnyPrefix(QueryUtils.java:349)
         at oracle.dbtools.raptor.query.QueryUtils.prependDbaVersion(QueryUtils.java:336)
         at oracle.dbtools.raptor.query.QueryUtils.getQuery(QueryUtils.java:298)
         at oracle.dbtools.raptor.query.QueryUtils.getQuery(QueryUtils.java:226)
         at oracle.dbtools.raptor.query.ObjectQueries.getQuery(ObjectQueries.java:42)
         at oracle.dbtools.raptor.navigator.xml.XmlObjectFactory.createFolderInstance(XmlObjectFactory.java:47)
         at oracle.dbtools.raptor.navigator.xml.XmlTypeOwnerInstance.listTypeFolders(XmlTypeOwnerInstance.java:74)
         at oracle.dbtools.raptor.navigator.TypeContainerFilter.loadTypeFolders(TypeContainerFilter.java:110)
         at oracle.dbtools.raptor.navigator.ConnectionFilter$1.doWork(ConnectionFilter.java:160)
         at oracle.dbtools.raptor.navigator.ConnectionFilter$1.doWork(ConnectionFilter.java:104)
         at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:515)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)

    Hi,
    For products whose install only involves an unzip, never over-write a previously installed version. From the 3.1 download page:
    To install Oracle SQL Developer 3.1 download the file, there is no in-place upgrade available, you must unzip the file into an empty folder.
    Regards,
    Gary
    SQL Developer Team

  • Connect to SQL Server with Oracle SQL Developer

    Hi,
    I am unable to connect to a named instance (Enigma\Enigma) on my local machine using sql developer. Every time I try to connect it says Cannot connect to Microsoft SQL Server on Enigma.
    Somebody please assist.

    Have you tried it on Forum : SQL Developer
    SQL Developer

Maybe you are looking for

  • Logical system for business service!!!!!!!!!

    Hi all, I send a file from filesystem to XI which inturn converted to IDOC and posted to SAP system. Filesystem i've added as a business system(which has a logical system in R/3). now i've added the filesystem as a business service(assinged to a part

  • URGENT: Regarding Purchase Requsition Approval

    hi, I am making a report on purchase requisition and i have to display the details of which person has approved it and its date of approval. can anybody tell me which are the tables used in it to display it,example :- 1st Approval - Name of d person

  • My 7 year old set up a password... HELP!!

    my 7 year old set up a password and the computer i had my i tunes on recently pooped the bed so i cant reset factory setting without loosing everything  is there another way to reset the password or by pass it???

  • Where is the hidden text?

    All: I'm attempting to unravel a Flash template and there are two Flash movies, Main and Magazine, the second being embedded into the first.  The Magazine Flash file contains a menu of links to various pages in the Magazine movie.  There are 5 of the

  • Weblogic script for aix

    hi guys i am using weblogic on aix and oracle forms reports in frontend.now i want a script to automatically start and stop weblogic on aix. as i dont have much of scripting idea please help for same. rgds