How sql developer connects to a oracle database

hi,
I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
How does it make the connection with oracle server?
Sameera

924164 wrote:
hi,
I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
How does it make the connection with oracle server?
SameeraWelcome to OTN
From Left side Tab click on (+) New Connection. Then at the window give a connection name,User name,Password.
Then provide Host Name, Port and SID
Click on Test button and then save or connect.
Hope this will help you

Similar Messages

  • Help how to connecting Oracle SQL Developer 3.0  with Oracle Database 11g

    Hello,
    I'm new in oracle developer yesterday i setup in my laptop database 11g the last version (11.2.0.1.0), well i follow steps still i got succeed to install, and i got my local host URL and i test my user name and password work very well, my problem now is i try to connect database 11g using Oracle SQL Developer 3.0 (3.0.04.34) but always filed and with my little experience i don't know where the wrong. as i said i test database after finish install is work fine the my URL is https://Ahmed-HP:1158/em and i test my username and password that i already set before is enter normal in my local database, please i need help to know how i connect database with Oracle SQL Developer 3.0 (3.0.04.34).
    Thanks,

    885173 wrote:
    EdStevens, thanks for your quick answer, sorry for my explain was doesn't clear, i open oracle sql developer and choose new connection i set connection name system_orcl username:system password:*i set my password that i create when i setup database*
    -Now the link that i got after finish install database is https://Ahmed-HP:1158/em so i have question about this point Hostname and port if the link to access database is this https://Ahmed-HP:1158/em so this mean i typing at Hostname:localhost and port:1158 ?
    because the message when i test connection always is filed and I'm sure i typing username and password and SID:orcl as i set when install database.port 1158 is what the dbcontrol (Oracle Enterprise Manager) is listening on. OEM is NOT the database. As far as the database is concerned, OEM is "just another client".
    Actually, the database doesn't listen for requests on any port. There is another process, the "listener" that listens for requests to connect to the database. Typically, it listens on port 1521. You should have a tnsnames.ora file set up to resolve a connection request to the correct host. You can read more on this at http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/

  • How can I connect to an oracle database remotely using telnet in DIAdem?

    I need to query an oracle database on a remote server and store the result back in DIAdem. Does anyone know how to telnet through diadem and return the result?

    DIAdem provides you with tools to connect to databases using SQL. Specifically, you can use SQL_Connect to open a connection to a database through a DSN (Data Source Name). The DSN has to be configured on the local machine (Control Panel -> Administrative Tools - > Data Sources) and has to point to the remote Database. You can map a network drive in the local machine so you can browse to your remote Database. The DSN will provide the link between DIAdem and the remote Database.
    If your communication has to be throught telnet, then I suggest you try to use an ActiveX control. VBScript doesn't support Telnet natively, but it does support ActiveX controls. You can create one from Visual Basic or try to find a telnet client that has one already.
    Best Re
    gards,

  • How do i connect to the oracle database

    I just downloaded oracle 9i from your website. I wanted to know how do I receive or create my own username and password so I can access the oracle database.

    Hi,
    Two user accounts are automatically created with the database:
    SYS (default password: CHANGE_ON_INSTALL)
    SYSTEM (default password: MANAGER)
    (More info at : http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96521/dba.htm#852)
    Both these accounts are database adminstrators. You can use either of these to connect to your database and create more users.
    To create new users use this SQL command after connecting to your database
    SQL> CREATE USER <username> IDENTIFIED BY <password>
    SQL> GRANT CREATE SESSION TO <username>
    For more information on creating users refer to http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96521/users.htm#16513
    Hope this helps.
    Sujatha.

  • How to develop ADF Mobile with Oracle Database remotely

    As my company is using Oracle Database and using ADF to development many Web-based apps and We just begin to develop in ADF Mobile.
    We can't find any tutorial about to using Oracle Database with ADF, How we can using it in ADF Mobile ?
    Thanks for your help !

    Hi,
    ADF mobile supports SOAP and REST services for business services access. This means that for you to work against an Oracle database, you need to create a business services that can be exposed as a service for WS DC consumption as explained in the ADF Mobile documentation. Your options are
    1. EJB / JPA : Create entities from database table and then create a session facade on top. This then can be declaratively exposed as a WebService. Use the WSDL reference and start New --> WebService -> WS Data Control in your ADF Mobile project
    2. ADF BC can be exposed as a Service Interface and this to ADF Mobile. To create an ADF BC service you can read the product documentation or this: http://www.oracle.com/technetwork/issue-archive/2012/12-sep/o52adf-1735897.html
    See this video: https://blogs.oracle.com/shay/entry/developing_with_oracle_adf_mobile for how to integrate this in ADF Mobile
    Frank

  • How does one connect to an Oracle Database using OO4O as sysdba using VB 6?

    Hi,
    Can any one give suggestion to connect an Oracle Database using OO4O as sysdba using VB 6.0. Generally it supports only database, userid/password only.
    For Eg:
    Option Explicit
    Dim m_oraSession As Object
    Dim m_oraDatabase As Object
    Private Sub Command1_Click()
    Set m_oraSession = CreateObject("OracleInProcServer.XOraSession")
    Set m_oraDatabase = m_oraSession.DBOpenDatabase("Database", "user/password", 0&)
    MsgBox "Connected to " & m_oraDatabase.Connect & "@" & m_oraDatabase.DatabaseName
    End Sub
    Private Sub Form_Unload(Cancel As Integer)
    Set m_oraDatabase = Nothing
    Set m_oraSession = Nothing
    End Sub
    Thanks & Regards,
    Kishore.P
    E-Mail: [email protected]

    You can't connect AS SYSDBA with OO4O.

  • How Sql Developer connect to DB2?

    like title...
    i add the db2 jar to the path ,and how to next?

    Its on the cards, We have the bones of it in development, but its not in the cycle for 1.5
    Barry

  • Connecting to Non-Oracle Databases

    How can we connect to Non-oracle databases like MS-SQL server using Developer Forms and reports?
    can any body please provide steps to do this.

    HI
    to connect to Non-Oracle Database u have to use OCA ,,,u have to define ODBC data source for the database <source1> u want to connect. to connect from the forms or reports
    user name/password@ODBC:source1.
    hope this help u
    try to look for the developer help

  • How to solve Oracle SQL Developer connection problem ?

    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?

    user8860348 wrote:
    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?username: sys
    password: enter_your_correct_password given at the time of oracle installation
    role: select sysdba if you would connect as sysdba else select normal for users other than sys
    hostname: enter your oracle server hostname or ip address eg:- 192.168.11.12
    to find the hostname open terminal/command prompt in oracle installed machine
    type ---> hostname
    type ---->ping hostname
    you can find the ipaddress of the server
    port number: 1521 (default) ----> i guess , else check the port number in the tnsnames.ora file under your ORACLE_HOME/network/admin folder
    SID: DB1
    try it
    Good Luck

  • How to view current connections to an Oracle database?

    Howdy all.
    Can/Will anybody tell me how to view the current connections to an Oracle database? I would like to be able to see what connections are happening, what username the connection is under, what the hostname is (the machine the connection is coming from), and also what SQL or PL/SQL is currenlty being executed (if any).
    wally

    select username,osuser,sql_address,sql_hash_value,logon_time,machine,terminal,program from v$session;
      1  select sql_text,piece from v$sqltext sq, v$session se
      2  where sq.hash_value = se.sql_hash_value
      3  and sq.address = se.sql_address
      4  and se.username = 'SCOTT'
      5* order by piece
    SQL> /
    SQL_TEXT                                                              PIECE
    select dummy from dual                                                    0

  • How to connect Java to oracle Database Express Edition?

    Anyone can help me?
    How to connect JAVA TO ORACLE DATABASE EXPRESS EDITION?

    I suggest you to read this article:
    http://wiki.oracle.com/page/JDBC
    Regards,
    Ricky

  • How to get connectivity between Personal Oracle 8.0.0.3 & Developer 2000 (Any Version

    Can anybody tell me how to get connectivity between Personal Oracle 8.0.3 and Developer 2000 Rel 2.1 in Win 98 Environment.
    I am able to install either Oracle 8 or Developer 2000 but not both, even if I use different Oracle Homes.
    When I posted the same question to www.xperts.com someone wrote to me saying that a patch has to be used to get the connectivity.
    I have been trying to solve the problem for last 6 months, but could not do it.
    Can you please tell me how to get the connectivity or atleast tell me which version will facilitate connectivity in a stand alone PC.
    Thanks and regards,
    Ashok
    null

    For Windows98. Worked for me, but no guarantee it will solve your problem.
    1) Install Dev2K.
    2) Install PO8i in a separate Oracle home.
    3) Use the following for TNSNAMES.ORA in your DEV2K Home:
    # C:\ORAWINKS\NETWORK\ADMIN\TNSNAMES.ORA Configuration File:C:\orawinKS\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle Net8 Assistant
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    MYORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    null

  • Connecting to an oracle database questions

    <p>Our current solution to connecting to our oracle database uses the following code:</p><p>    ReportClientDocument clientDoc = new ReportClientDocument;</p><p>    java.sql.ResultSet rs =  fetchResultSet(driverName, connectStr, userName, password, <u>query</u>);</p><p>    clientDoc.getDatabaseController().setDataSource(rs, <u>tableName</u>,tableName+"_ResultSet"); </p><p>The code for subreports is very similar, but isn&#39;t necessary for my question. The problem w/ this approach is we have to define the SQL query and the table name in the JSP, which we shouldn&#39;t have to do considering both of these are stored in the report. Any changes to the reports&#39; sql would then require someone to edit the jsp, which is just bad.  </p><p>I have been reading up on the ConnectionInfo and ConnectionInfos classes (nice naming convention btw) and the CrystalReportViewer.setDataBaseLogonInfos() method, and I believe a solution may lie here. The problem is the tutorials on using the ConnectionInfo class assume the database name is stored in the report, and we do not want to assume this. We are developing our reports to be used by our customers, who may name their database whatever they want so long as the tables inside it are what we specify. Because of this assumption, I have yet to find a good explanation of how to use the setAttributes(PropertyBag) method which is the only I have seen to specify the database name (within a connection string). I have examples of it, but nothing that defines the key/value pairs required in the PropertyBag to create a connection to an oracle database. </p><p>Is there some documentation on the key/value pairs needed by the PropertyBag? Also, if there is another (easier) solution I am overlooking then please let me know, thanks.</p><p>-Sam Morehouse</p><p>HBF Group, Inc </p><p> </p>

    <p>got it working, here&#39;s some sample code.  </p><p> </p><p><%<br />    try{<br />        ReportClientDocument clientDoc = new ReportClientDocument();<br />        clientDoc.open(reportName, 0);<br />    <br />        ConnectionInfos connInfos = new ConnectionInfos();<br />        IConnectionInfo iConnInfo = new ConnectionInfo();<br /><br />        PropertyBag bag = new PropertyBag();<br />        bag.put("Database Class Name",driverName);    // "oracle.jdbc.driver.OracleDriver"<br />        bag.put("Connection URL",connectStr);        // "jdbc:oracle:thin:@dbName:1521:sid"<br />                            <br />        PropertyBag pb = new PropertyBag();<br />        pb.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES ,bag);<br />        pb.put(PropertyBagHelper.CONNINFO_DATABASE_DLL ,"crdb_jdbc.dll");<br />        iConnInfo.setAttributes(bag);<br />        <br />        iConnInfo.setUserName(userName);<br />        iConnInfo.setPassword(password); <br />                <br />        iConnInfo.setAttributes(pb);<br />            <br />        connInfos.add(iConnInfo);<br />        session.setAttribute(reportName, clientDoc);<br />        session.setAttribute("reportSource", clientDoc.getReportSource());<br /><br />        //Setup viewer. Only going to include the relevant line, the rest can be found</p><p>        //elsewhere.<br /></p><p>        CrystalReportViewer oCrystalReportViewer = new CrystalReportViewer();                   oCrystalReportViewer.setDatabaseLogonInfos(connInfos);                                      }    </p><p>catch(ReportSDKExceptionBase exc)%></p>

  • How to I convert data from oracle database into excel sheet

    how to I convert data from oracle database into excel sheet.
    I need to import columns and there datas from oracle database to microsoft excel sheet.
    Please let me know the different ways for doing this.
    Thanks.

    asktom.oracle.com has an excellent article on writing a PL/SQL procedure that dumps data to an Excel spreadsheet-- search for 'Excel' and it'll come up.
    You can also use your favorite connection protocol (ODBC, OLE DB, etc) to connect from Excel to Oracle and pull the data out that way.
    Justin

  • Which sql developer version will support oracle 8.1.7

    hi
    which sql developer version will support oracle 8.1.7 or is it necessary to use plsql developer to connect to database (oracle 8.1.7)

    Hi,
    SQL Developer version 1.2.1 is able to connect to 8.1.7 with limited functionality (prepared reports and browser for objects could not work)..
    Next version (tested with 3.2 64-bit) of SQL developer could be "hacked" to connect to 8.1.7 by simply copy file C:\oracle\product\10.2.0\client_1\jdbc\lib\classes12.zip from Oracle client prior 11
    into appropriate jdk\jre\lib\ext folder.

Maybe you are looking for

  • Make image appear one line at a time

    I have an image of a seashell that I created in Photoshop. It's just black and white outline of an image. What I want to do is reveal this seashell image one line at a time. I tried creating motion paths but only part of the image is visible at any g

  • My ipod is in recovery mode

    ok so, a couple days ago it crashed out of no where. so i've rebooted & it shows the thing where it's telling you to connect it to itunes. So i did. then itunes told me it was in recovery mode & that i had to restore. well i tried to restore but then

  • Downloaded Premier Elements 30 minutes ago. It will not open and install on my windows 7 machine. Please advise!!!!!!!

    Very disturbing download process. First click to downlload Photoshop Elements trial was blocked because there was malware attached. This happened twice. Second attend to download PS elements worked. But the file would never open and install. Then tri

  • IE10 blocks local files with flash and java content

    Hello, we have imported the Microsoft Security Compliance Policys for IE10. Now we have unfortunately found that, IE is blocking content on the for the "local computer". We have installed some software which calls a index.html with some flash and jav

  • Database trigger causes "TooManyObjectsException JBO-25013" in view object

    Hi all, I have two tables in a parent - child relationship. Each has it's entity and view object with appropriate associations and links. The parent table has an insert trigger which inserts default rows into the child table when a new parent row is