Connection of database in oracle's 12 c

I have installation let oracle 12 c as according to the steps of oracle documentation.

but when I connect forms 12 c to the 11g database

ORA - 12154:TNS: can not resolve the connect identifier specified...

I have check the(path - C:\Oracle\Middleware\Oracle_Home\user_projects\domains\forms12c\config\fmwconfig) tnsnames.ora file has no entries.

#

#

# the file tnsnames.ora in sample

#

sample entry #.

# < ALIAS > = (DESCRIPTION = (ADDRESS_LIST =

# (ADDRESS = (PROTOCOL = TCP)

((# (HOST = < HOST >) (PORT = < PORT >)))

(# (CONNECT_DATA = (SID = < SID >)))

#

#

How do the configuration of database in oracle 12 c.

COPY the TNS data entry and paste it after the last line of the file above.

Hamid

Tags: Oracle Development

Similar Questions

  • Connect to MYSQL DB Oracle

    MY SQL-(5.1.61) version
    Oracle (11.2.0.2.0 - 64 bit)

    Must read a view in Oracle's MYSQL and flush the data in the table from Oracle scene.
    Please provide the steps in detail.

    Thank you.

    Best regards
    Franck Giri

    Hello
    You can use the database for ODBC (DG4ODBC) gateway to establish a connection to the MySQL database, and then use the copy, "create table as select... "or select / insert commands to move the data from MySQL in Oracle tables.
    You will need access to My Oracle Support, but the following notes have details on setting up Dg4ODBC on variosu - platforms

    How to set up DG4ODBC on x 86 32 bit Linux or HP - UX RISC (11.1 DG4ODBC only) to connect to databases Non-Oracle post installation (Doc ID 466228.1)
    How to set up DG4ODBC on 64 bit OS Unix (Linux, Solaris, AIX, HP - UX Itanium) to connect to Oracle databases Post Install (Doc ID 561033.1)
    How the installer DG4ODBC (gateway for ODBC Oracle database) on Windows 32 bits (Doc ID 466225.1)
    How to set up DG4ODBC (gateway for ODBC Oracle database) on 64-bit Windows operating systems to connect to Oracle databases Post Install (Doc ID 1266572.1)

    Then this note contains information on the data - transfer

    Copying data between Oracle database and non-Oracle foreign databases or data banks using gateways (Doc ID 171790.1)

    You can also use GoldenGate which allows the replication of data between Oracle and non-Oracle databases in real-time.

    Kind regards
    Mike

  • Connection to the database to Oracle using Oracle Apex 5.0.1

    Hi all

    Is it possible to connect to the Oracle (Oracle SQL Developer 4.1.1) database using Oracle Apex 5.0.1 instead of using the object browser. As he was more workspace after you have downloaded the data we have on CSV Excel.

    For example: regardless of the tables I've created in the Application Builder is created in the object browser. We have limited the workspace of 500 MB. This is the reason why we cannot use this method to load the data and retrieve it. (Note: can I ask 2 GB of space to work on the approval of the Director, who is still not sufficient)

    Is it possible that I will create an apex.oracle.com application by using the application builder and I will create in the database tables. When I load the file in application, data will be stored in the database Oracle instead of the object browser.

    Well let me know is possible, if yes, how can I proceed.

    If this isn't the case, please let me know how I can get more workspace.

    According to my understanding, other possibilities are: 1) taking backup of old files and free up space, 2) create another workspace and get extra work space.

    Thanks for your help!

    Kind regards

    Vinod

    Hello

    When you load data using APEX SQL Workshop utilities for example, the data is stored in your database tables.

    Object browser is just seen tool your schema as the table objects and the data in the tables, just as SQL Developer.

    If you have no good reason to keep these files that you downloaded in the workspace, delete those. Data is stored in database tables.

    Kind regards

    Jari

  • Check the connection to a remote Oracle database


    Hello

    I have an application that runs on a server that connects to an Oracle database on another server.  The application uses Java and JNDI to connect, there is no Oracle client installed on the server hosting the application.  The application seems to have been to connect to the database on the other server.  How can I check that the connection to the database still work from the server hosting the application?  Is there a software tool that I use does not require Oracle client must be installed.

    Thanks in advance

    Alanjo

    the connection request is saved in the file listener.log on the DB server

  • Using Oracle ODBC connection to a remote Oracle database gateway

    Oracle 11 g 2

    RHEL 6.4

    Someone at - it use the Oracle ODBC gateway to connect to a different Oracle database?  Problems with this configuration?  Where can I get the drivers for Linux ODBC?

    (I know, "why not use a dblink?" -Well that would be against the strategies of enterprise security)

    Thanks for your reply.  What I wanted was 'just' a dblink of 1 db Oracle to another Oracle db w/o the use of the ODBC bridge.

  • Oracle Discoverer 4i (Portal db - oracle 8i) connectivity with database 11g problem

    Hi all

    We have oracle discoverer 4i with Portal db (oracle 8i).

    Connect to external databases by using links in the portal db db and reports will use the link db to retrieve data from views in external databases.

    External databases, we have been connecting is oracle 10g version and now we have improved these databases to version 11g.

    Now I have a created a new database link to this 11g database and I have created a new EUL in the portal to connect to this database 11g.

    But when I try to create a report using the discoverer of this new EUL after login for the discoverer we get an "Unable to connect to the database" error.

    We all have the privilege of necesscary to the user and the new database link works perfectly well. (when we try to query directly using SQL as database portal using this db link the query works perfectly).

    I'm not sure if it is a compatibility issue in accessing an 11g database since oracle disk 4i.

    Can any advise if this is the case and if there is no work around for this?

    Kind regards

    REDA

    You say that you are having problems with a link of database from 8i to 11 g (pl exact position of 4-digit versions)? If so, expect as database of links between these two versions are not supported. Is there a reason you can't pass the portal of databases of at least 10 g 2?

    See MOS Doc 207303.1

    HTH
    Srini

  • Developer unable to connect SQL database Oracle as a SYSDBA

    Hi all
    Recently, I installed SQL Developer3.0 on my machine and try to create the connection to the local Oracle server. But something confuses me. When I login as normal role, it can connect DB successfully; When I connect as sysdba role named sys, it has always failed and show "name of user and password invalid. I don't know that the username and password are right, because I haved connected the oracle DB from pl/SQL with the same user name and password. And I also chose the role as sysdba. SQL Developer3.0 not support connect as sysdba? I would be very grateful if someone could give me a helping hand. Thanks in advance.

    Hi 851634,

    Do you need a password for remote sysdba (old link) file?
    Cannot connect as sysdba in Oracle Enterprise Management Console

    You can try to open a session (loopback) on the network as sysdba, which requires a password file.

    -Turloch
    Team SQLDeveloper

  • Link to the database of Oracle 11 g 11.2.0.3.0 to SQLServer 2012 - 11.0.5058.0 (X 64)

    Hello.

    I read a lot of discussion and documentation on this subject, but the things I'm trying to work.

    I want to connect from Oracle to SQL Server. I did the following steps:

    (Taking into account, that I want to connect to a database SQL SERVER called GS2PIASQL03\INSTANCE3)

    Create the odbc connection in the oracle called running GS2PIASQL03 Server

    Name: GS2PIASQL03

    Description: GS2PIASQL03

    Server: GS2PIASQL03\INSTANCE3

    With authentication sql server using a login ID and passwotrd entered by the user

    Connect to sql server to obtain default settings for the configuration option extra

    User: rema_read

    Password: xxxxxxx

    Master default database

    Use ANSI quoted identifiers

    Use nulls, padding and ANSI warnings

    Perform the conversion of character data

    Finishing and test the source data before TESTS COMPLETED successfully.

    Content of LISTENER.ora

    listener.ora # Network Configuration file: S:\app\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = S:\app\oracle\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:S:\app\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    (SID_DESC =
    (SID_NAME = CRM)
    (ORACLE_HOME = S:\app\oracle\product\11.2.0\tg_1)
    (PROGRAM = S:\app\oracle\product\11.2.0\tg_1\bin\dg4odbc.exe)
    )
    (SID_DESC =
    (SID_NAME = CRMSVC)
    (ORACLE_HOME = S:\app\oracle\product\11.2.0\tg_1)
    (PROGRAM = dg4odbc)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = REMA)
    (ORACLE_HOME=S:\app\oracle\product\11.2.0\dbhome_1)
    (SID_NAME = REMA)
    )

    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = SLPIAM29)(PORT = 1521))
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    )

    ADR_BASE_LISTENER = S:\app\oracle

    Content of the TNSNAMES file. ORA

    tnsnames.ora # Network Configuration file: s:\app\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.


    GS2PIASQL03 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)
    (HOST = 172.16.61.18)
    (PORT = 1521)
    )
    (CONNECT_DATA = (SID = GS2PIASQL03))
    (HS = OK)
    )

    Content of initGS2PIASQL03.ora

    HS_FDS_CONNECT_INFO = GS2PIASQL03

    #HS_FDS_SHAREABLE_NAME = C:\Windows\System32\odbc32.dll

    HS_FDS_TRACE_LEVEL = Debug

    Stop and start receiving and then create a database link running the following command in Toad:

    CREATE THE DATABASE LINK TEST_SQLS PUBLIC

    To CONNECT to "read_rema".

    IDENTIFIED BY 'password '.

    WITH THE HELP OF 'GS2PIASQL03 '.

    /

    When I test the link of database (with the option of Toad) or run a query such as:

    Select * of sys.sysobjects@TEST_SQLS;


    I get the same error

    *********************************************************************

    Link: "TEST_SQLS".

    Error: ORA-28545: error diagnosed by Net8 when connecting to an agent

    Cannot retrieve the text of the message NETWORK/NCR 65535

    ORA-02063: preceding 2 lines of TEST_SQLS

    *********************************************************************

    Please I really need your help I really really need this to work and I'm completely lost know.

    I look forward to hearing from you soon.

    Vinny.

    Hey Vinny,

    No, the host tnsnames.ora must not refer to the place where the SQL * Server database is active.  The tnsnames.ora entries is intended to guide the user who calls the database link by using this entry to a listener running on the computer and the port in the entry. The listener then directs the user to everything that is referenced by the SID in the listener. If it is an Oracle database, then you are linked to the database. If this is an entry of gateway referenced by having the (HS = OK) then you are linked to the gateway which then liaises with what non-Oracle database is accessible through the gateway of the option.  You cannot directly connect to the non-Oracle database by using the IP address of machine non-Oracle in tnsnames.ora. You need to go through the door entry referenced by the listener to establish the connection.

    For the listener, you can set the path to the ORACLE_HOME of the gateway or RDBMS. However, the best option is to give the listener a different name from the default, so for the gateway, you might have-

    SID_LIST_LISTENER_GTW =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = GS2PIASQL03)

    (ORACLE_HOME=S:\app\oracle\product\11.2.0\tg_1)

    (PROGRAM = dg4odbc)

    )

    )

    LISTENER_GTW =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = SLPIAM29)(PORT = 1525))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1525))

    )

    )

    You can then use-

    stop LISTENER_GTW

    Start LISTENER_GTW

    Kind regards

    Mike

  • Unable to connect pluggable database

    Hello

    Version: 12.1.0.2, platform: AIX, CBD: B12C, PDB: MYPDB1

    I am trying to connect newly created connectable to database. But it is throwing an error is not available and when I check open_mode is read/write for mypdb1 the database.

    Can you please help me where I am wrong? I fight with it more than a week.

    listener.ora :
    LSNRB12C =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = adc40)(PORT = 1550))
        )
      )
    
    
    SID_LIST_LSNRB12C =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = B12C)
          (ORACLE_HOME = /oracle/AIX/12102_64)
          (SID_NAME = B12C)
        )
        (SID_DESC =
          (ORACLE_HOME = /oracle/AIX/12102_64)
          (SID_NAME =MYPDB1)
        )
      )
    
    
    tnsnames.ora for pluggable database:
    MYPDB1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = adc40)(PORT = 1550))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = MYPDB1)
        )
      )
    
    
    adc40 {oracle}:>lsnrctl status LSNRB12C
    LSNRCTL for IBM/AIX RISC System/6000: Version 12.1.0.2.0 - Production on 09-SEP-2015 21:56:44
    Copyright (c) 1991, 2014, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=adc40)(PORT=1550)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LSNRB12C
    Version                   TNSLSNR for IBM/AIX RISC System/6000: Version 12.1.0.2.0 - Production
    Start Date                08-SEP-2015 23:21:16
    Uptime                    0 days 22 hr. 35 min. 28 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /oracle/AIX/12102_64/network/admin/listener.ora
    Listener Log File         /oracle/AIX/diag/tnslsnr/adc40/lsnrb12c/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=adc40)(PORT=1550)))
    Services Summary...
    Service "B12C" has 1 instance(s).
      Instance "B12C", status UNKNOWN, has 1 handler(s) for this service...
    Service "MYPDB1" has 1 instance(s).
      Instance "MYPDB1", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    
    
    adc40 {oracle}:>env |grep ORACLE
    ORACLE_BASE=/oracle/AIX
    ORACLE_SID=B12C
    ORACLE_HOME=/oracle/AIX/12102_64
    
    
    adc40 {oracle}:>sqlplus "/as sysdba"
    SQL*Plus: Release 12.1.0.2.0 Production on Wed Sep 9 22:01:50 2015
    Copyright (c) 1982, 2014, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
    
    
    SQL> select NAME,OPEN_MODE,RESTRICTED from v$pdbs;
    
    
    NAME                           OPEN_MODE  RES
    ------------------------------ ---------- ---
    PDB$SEED                       READ ONLY  NO
    MYPDB1                         READ WRITE NO
    MYPDB2                         READ WRITE NO
    MYPDB3                         READ WRITE NO
    
    
    SQL> create user c##1 identified by oracle container=all;
    User created.
    SQL> grant create session to C##1 container=all;
    Grant succeeded.
    SQL> sho con_name
    CON_NAME
    ------------------------------
    CDB$ROOT
    SQL>  alter session set container=mypdb1;
    Session altered.
    SQL> sho con_name
    CON_NAME
    ------------------------------
    MYPDB1
    
    
    SQL> connect c##1/oracle@adc40:1550/b12c
    Connected.
    SQL> connect c##1/oracle@adc40:1550/mypdb1
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Additional information: 2311
    Additional information: 186818867
    Process ID: 0
    Session ID: 0 Serial number: 0
    
    
    Warning: You are no longer connected to ORACLE.
    
    
    
    

    Can you please tell me why it shows database is unavailable, even if mypdb is open?

    Thank you

    Arul

    You cannot connect to a PDB file through a registration of the listener static like this, because there is just no SID not named MYPDB1. You must register the services dynamically. In the root.

    ALTER system set local_listener = "adc40:1550";

    editing the system registry;

    --

    John Watson

    Oracle Certified Master s/n

  • Copy of database SQL Developer - you can copy a database non-Oracle?


    I was hoping to use the database copy utility in Oracle SQL Developer 4.0.2.15 to copy data from a sybase database table in an oracle database table. I created both the Sybase and Oracle database connections, however only the Oracle connection is available in the 'Source' and 'Destination connection' lists drop-down in the copy database wizard. Is it possible to use this utility to copy a non-Oracle database, any advice would be much appreciated.

    Assuming that you don't have just to copy a single table (or just a handful of tables), 'copy Oracle"function should appear when you right click on your target table from the Tables node on the sybase connection.

    If you need to migrate tables more this can become tedious, but in this case probably consider using specially designed SQLDeveloper migration functions to migrate all drawings of third to Oracle databases (for this right click on the connection to sybase and choose "Migrate to Oracle").

  • create the database with Oracle Client link

    Hello together,

    on my machine Windows 7 with Oracle Client installed 12.0.1.0, I'm trying to create a database link to a database server, which runs on Oracle Standard Edition1 11.2.0.2.

    When I connect to sqlplus on the client with "sqlplus/nolog" and type the command:

    SQL > create SID of the database link

    connect to the user identified by passwd

    using "tnsnames.ora connection."

    I have a SP2-0640: not connected. OK, it is clear, because I use sqlplus with option/nolog. But client-side normally I have no database, where I can connect. So I think, there is no user, or?

    The database to which I want to connect is located in tnsnames.ora.

    Generally: Is it possible to use the Oracle Client to create a database link? Maybe there's another way to do this?

    A big thank you and best regards,

    David

    You don't seem to understand the concept of a database link.

    A database link connects two databases. Not a client and a database.

    You need to link up in a data source to a target database.

    The only thing you need is a client of sqlplus in sqlplus client, you need to connect to the source database.

    If you can't connect to the source database, you must present the statement to someone.

    Sybrand Bakker

    Senior Oracle DBA

  • o impossible to connect the database

    Hi Experts,

    When I try to connect the database in my local computer I get the error like below for past 3 days.

    Please help me with this problem, I have very important data in my db.

    OS: win xp.

    Error is:

    SQL > conn scott/password
    ERROR:
    ORA-01033: ORACLE initialization or shutting
    Process ID: 0
    Session IDs: serial number 0: 0


    SQL > conn sys/password AS SYSDBA
    ERROR:
    ORA-28056: audit event log entry records Windows failed
    OSD-248170904: Message not found 248170904. product = RDBMS. installation = SOSD
    S/O-error: (OS 1502) the event log file is full.
    ORA-01075: you are currently connected



    Thanks in advance.
    Surya.

    Your windows (start-> Run-> eventviewer) event log is full. Erase old newspapers and then try to connect to the database.

    Mark the thread as answered by providing appropriate points or else still this thread would be added to your account of the bunch of unanswered questions that you encounter ;)

    Keep the forum clean marking your questions answered!

  • Problem when creating new connection of database with SQL Developer

    Hi all

    I am a beginner and I want to learn Oracle add up to my learning
    I installed SQL Developer on Linux Mint 12 (lisa).
    The installation went well, but when I try to create a new database connection in SQL developer, I get the following error:

    * Status: Failed - Test has failed: IO error. The network adapter could not establish the connection.* *.

    Could someone please suggest where exactly, I'm missing?

    Greetings - Vishal

    Have you installed the oracle database software locally? Have you created a database called "oracle?

    Developer SQL does not include a data base. For learning purposes, I recommend that you download Oracle Express Edition.

  • Imported a few diagrams of Oracle database 11g oracle 10g

    Hello

    I have the task to import some schemas are basis of oracle 10g (10.2.0.4) in the database to oracle 11 GR 2 (11.2.0.2). Now I only oracle 10g export and import utility (the 11g server is not where I give myself the import duties).

    I can do the export of the g 10 patterns using the 10 g utility to export and then import into database 11 g using the 10 g import utility? I ran a test to do this and found it works but I would like also to have advice from experts on this subject.

    Also another question is: If the schema of the source is 11g - assume - can the utility of export/import of 10g still work in this case? I mean the scheme for the export of db1 say (which is 11 g) using 10 g utility to export and import them into 11 g db2 database (which is still 11 g) using 10 g import? I request because I don't have access to the 11g server and trying to find what I can do with the 10g utilities.

    Thank you

    set up a database connection to the database to version 10 gr 2 in 11 GR 2 database.
    Now using the client impdp GR 11, 2 utility use
    Impdp network_link =

    Fact.
    Your "objection" you have no access to GR 2 11 does not count that you can install a client of 11 GR 2.

    Also in general do not use a version more low imp to imp to a higher version database
    Exp and imp are also deprecated in 10g and more.

    -------------
    Sybrand Bakker
    Senior Oracle DBA

  • Connect my Sql from Oracle

    Hi all

    I installed Oracle 10.2.0 Linux and My Sql installed in Windows, can someone explain me how to connect from oracle to my sql?

    Thank you
    Prakash S

    Prakash,
    You can use the database for ODBC (DG4ODBC) 11g gateway to connect to MySQL from Oracle.
    See the following notes in My Oracle Support for more details and information-

    Note to master note.1083703.1 for the Oracle Gateway products

    Note.233876.1 Connection Options abroad of banks of data and databases non-Oracle

    Note.466228.1 how DG4ODBC Setup on Linux x 86 32 bit
    Note.561033.1 how to Setup DG4ODBC on 64 bit OS Unix (Linux, Solaris, AIX, HP - UX)
    Note.466225.1 How to Setup DG4ODBC (database gateway for ODBC Oracle) on 32-bit Windows
    Note.1266572.1 How to Setup DG4ODBC (gateway for ODBC Oracle database) on 64-bit Windows operating systems

    Your RDBMS 10.2 should be 10.2.0.4 or 10.2.0.5 use DG4ODBC.

    Kind regards
    Mike

Maybe you are looking for