Oracle database, move varies between databases

We have application where all logic is implemented in the oracle database using pl/sql.

We have different oracle for the development and production databases.

When the developer changes in the development database after the test, we move compare changes of development database to the production database using Toad tool schema. Problem here is that the developer must have password for database production. We want only admin know this password.

Can someone advice me best way to changes moving between databases without the need to have password database of production, which is advisable for this?

There may be automated methods to generate these scripts, but I would say, "generate the hand."

Someone needs to create the tables in the first place and edit them - who did it with SQL. Put it in a script instead of "do it all", or using a pointy-clicky of GUI tool.

It is the same for things such as tables in the list of values or configuration data. Put it in scripts.

Tags: Database

Similar Questions

  • Difference between Oracle database and SQL or SQL Developer +?

    Hello
    I am very very new to Oracle... Only yesterday I installed Oracle 11 G for learing... I found to create an Oracle database

    Oracle Db11gHome1 = > Configuration and Migration Tools = > Database Configuration Wizard
    ... blah... blah... blah... Success... I created...

    But I found the menus

    Oracle Db11gHome1 = > application development = > SQL Developer
    Oracle Db11gHome1 = > = application development > SQL Plus

    And so I get confused... I know SQLSERVER 2008... etc... to create databases... So the above said two is for what purpose?
    Anyone can show me a route for this spirit of quarrels?

    Thank you

    Hello

    Welcome to the world of Oracle.

    SQL Developer: http://www.oracle.com/technetwork/developer-tools/sql-developer/what-is-sqldev-093866.html

    SQl more: http://docs.oracle.com/cd/B13789_01/server.101/b12170/qstart.htm

    These docs will give an initial advance for these tools.

    Something in common between these two tools is: both are used to access the Oracle database.

    Thank you
    Navneet

  • difference between oracle clusterware and oracle database

    What is the difference between the oracle database and oracle clusterware?

    Thanks in advance

    Oracle clusterware manages cluster resources for example databases and the pile of entire cluster, nodes, interconnection...
    Oracle database is a DBMS which manages the application data

  • Move to Oracle Database 11g Release 2 with Mike Dietrich

    Hi friend;

    Yesterday, I was in an Oracle in Istanbul.

    In the seminar; Author Mike Dietrich, who works in Germany-Oracle show us how to do the step of database Oracle 11 g Release 2. His presentation available on my blog.

    I highly suggest to check this pdf. It already has cover:

    -Support of politicians, patches, Documentation, upgrade paths
    -Database upgrade (DBUA, command line, after the upgrade, alternatives, Clusterware and ASM upgrade)
    -Diagnosis and Tuning
    -Performance evaluation

    You can find many useful tips, path of evolution, related notes metalink etc etc... in the pdf file.

    http://heliosguneserol.WordPress.com/2010/06/17/move-to-Oracle-database-11g-release-2-with-Mike-Dietrich/

    Respect of
    HELIOS

    Helios,

    Interesting paper! Thanks for sharing with us.

    Thank you
    Hussein

  • difference between authorized and unauthorized oracle database

    Hi all

    Please let me know that the difference between the authorized and unauthorized oracle database. And how to check the installed database has a license?

    Sheesh - another person who sprays the duplicates of the question in every sense. A single copy of the issue, waiting around a decent amount of time (at least a day) would be sufficient. The copy of my response to the other answer:

    Rahul K. Thakar says:
    Hi all

    Please let me know that the difference between the authorized and unauthorized oracle database.

    Technically there is no difference between the same version the 'licence' and 'unlicensed' installation. (In fact, there is no such thing as 'without licence' - you agree to a no cost developer license when you download it.)

    No bombs, screens reminder or functional limitations. No need of prison Don't Break anything.

    In practice only gives the developer license, access you the media and therefore no patches. And so you will live with bugs and potential security vulnerabilities. If it's important, is quite another story.

    and how to check the installed database is allowed?

    You will be able to go to your bank statement or credit card and see a payment to Oracle. And you will get a contract 50 gazillion page, in small print, which tells you what you bought and what you agree to make and use.

    You are on your honor to follow the details of this beautiful document. You can note that, with all licenses, you agree that Oracle can visit you to confirm that you are indeed honour your agreement. And if not, you have the option to ' splain why not in front of a judge.

  • Difference between an Oracle database and Oracle SID

    Hello

    Can someone please differeniate what exactly is the difference between an Oracle SID and a new Oracle database.
    We just need to create another instance of an application (so we need another copy of all tables).

    So either we can:

    1. new database SID created or

    2. new user created in the existing schema or

    3. the new database provided

    What is the best approach?

    Hello

     New database SID created or
    

    Which is the equivalent of creating a new database in your case.

    New user created in existing schema or
    

    You mean new schema (user) created in the existing database. I assumed that this is because you do not want both asks to update the same copy of the table, but copy different.

    3. New database provided
    

    Depends of your you if you want to create a new database or a new scheme to get another copy of the table.

    A few points that I take in mind
    (1) if I have a production database and I need to create a new set of control panels, or any other end, I would create a new database.
    (2) if I have a test database and I need to create a new set of tables of control or any other purpose, if possible I would create a new schema of the existing database.
    (3) if I use less resources(hardware/memory), I would proffer a new schema of the existing database.
    (4) if I'm running not less resources and I want to keep these two entirely different copies, then for security reasons I would create a new database.

    Concerning
    Anurag Tibrewal.

  • Difference between PeopleTools and Oracle database to remove?

    Hello

    I am a newbie to PeopleSoft/PeopleTools. I deleted a folder out of my Oracle database 10 g

    DELETE FROM table_name WHERE LASTNAME = 'smith ';.

    deleted 1 record

    Yet, when I connect on PeopleSoft Ent. The recording shows always when I do a search for the user? I did a refresh on the database and recorded in PeopleSoft and its still there? any help is appreciated.

    Again, I think that you must double check the name of the table that you have removed the employee of.

    Your examples of queries have been by name and not EMPLID. I assume you have the EMPLID. My first action would be to run the following query:

    Select * from PS_PAY_CHECK where emplid =?

    If you get even a SINGLE shot, return to your system administrator and tell him that you refuse to follow his instructions, because that his request to do is illegal. You don't want to be the scapegoat, if there is some sort of fraud that is going on here.

    If the person has not been paid on your system, and then deleting the person is possible.

    People Soft provides tools to achieve this. Execute us on a regular basis. This should be the direction that you are using. Again, ask your system administrator why delivered tools do not work. There should be some kind of rational way to achieve this. If it can't give you a valid reason, I would clean up my resume. The guy is asking you to do things that you should consider saying no to. Because you are a beginner, you should at least ask for the supervision of a more experienced PeopleSoft Developer.

    Assuming you have exhausted all your options for delivery and system administrator gave you a valid justification, you can run this script to generate a set of queries to tell you all the tables where this person exists.

    SELECT ' SELECT "' | A.TABLE_NAME | "' AS TABLE_NAME, COUNT (1) TO ' | A.TABLE_NAME | ' WHERE EMPLID = "?"; '.
    FROM DBA_TAB_COLUMNS HAS
    WHERE A.COLUMN_NAME = 'EMPLID.
    AND THERE ARE
    (SELECT 'X' FROM PSRECDEFN
    WHERE A.TABLE_NAME = ' PS_ ' | RECNAME
    AND RECTYPE = 0);

    Don't forget to replace the question mark with the EMPLID. This has generated about 5 000 queries in my system.

    Know that you are wandering in a very scary place here. There are some valid reasons for deletion in the scenes, but you should exhaust all other options, first.

    Paul

  • What is the latest version of the Oracle database?

    Hello

    I have 10 g and 11 g instances.

    Oracle 12 x? been released yet and it is quite ready for prime time?

    Thank you, John

    You can find the latest version by going to MOS and clicking on the certification tab. It varies.

    When 12 c is released, he won't be ready for prime time. It's called "using your customers in beta" or "to be on the cutting edge." If it is appropriate for a given site, depends on.

    Versions are somewhat arbitrary, as the distance between point releases is sometimes as much between versions. Sometimes new features of the version are backported to earlier versions. Who can't too.

    MOS release schedule of data releases current [742060.1 ID] and roadmap for Oracle database releases patches [1360790.1 ID] group are worth keeping an eye.

    But honestly, there will be a big hoopla on the net when it becomes official.

  • Loading data to SQL server for the Oracle database

    I want to create a table in oracle db table in sql server. Table is huge that he has obtained the documents 97,456,789.
    I created the link (HS) db in the oracle database that points to the sql server. I choose this oracle db on the link table.

    Select * from 'dbo '. "T1@dblink;

    I shot below to create the table.
    create table t2 nologging parallel (degree = 3) as select * from 'dbo '. "T1@dblink;
    and its taking a long time... but its operation...

    is there any other method to do this and and fill the table in oracle db faster.

    Please notify. Thank you.

    vhiware wrote:
    create table t2 nologging parallel (degree = 3) as select * from 'dbo '. "T1@dblink;
    and its taking a long time... but its operation...

    I doubt that parallel processing will be used because it is unique to Oracle (using rowid varies in general) and not SQL-Server.

    is there any other method to do this and and fill the table in oracle db faster.

    Part of the performance overhead is to pull that data from SQL Server to Oracle in the whole of the liaison network between them. This can be accelerated by compressing the data first - and who then transfer them over the network.

    For example: using + bcp + to export the data in the SQL Server box to a CSV file, compress/zip file, scp/sftp file Oracle and then to unzip there. In parallel and direct treatment of load can now be done using SQL * Loader to load the CSV file into Oracle.

    If it is a basic Linux/Unix system, the process of decompression/unzip can be run in parallel with the SQL * process Loader by creating a pipe between the two – where the decompression process writes data uncompressed in the pipe and SQL * Loader reads and loads the data that is available through the pipe.

    Otherwise you are PQ own transformation. Assume that the data is date varies. You can create a procedure on Oracle that looks like this:
    {code}
    create or replace procedure as copyday (day) is
    Start
    Insert / * + append * / into local_tab select * from remote_tab@remotedb where col_day = day;
    -Add logging info, validation, etc.
    end;
    {code}

    You can now start 10 or more of these different days and run it in the background using DBMS_JOB.

  • Microsoft Visual Studio 2012 with Oracle database

    Hello!

    I'm a developer Oracle of Pakistan. Currently, I have a lot of desktop applications. Now, I want to develop web applications for which I think to use Microsoft Visual Studio 2012 with Oracle Database 11 g on the back-end.

    Please guide me on the software/hardware required for Microsofot Visual Studio 2012 and also to confirm the compatibility between Microsoft Visual Studio 2012 with Oracle database.

    Concerning

    Mohammed Uzair

    Oracle APEX developer

    Oracle applications developer

    + 92 (333) 7058754

    Hello

    I suggest you post the same question in the Microsoft Visual Studio category in the Microsoft MSDN forum for assistance.

    http://social.msdn.Microsoft.com/forums/en-us/category/VisualStudio

  • What is this new SQL Beta - 1z1 - 071 - 2 SQL - Oracle Database SQL 12 c

    Hello

    It's confusing.

    This looks like a 2nd review SQL for Oracle 12 c.

    What is this new SQL Beta - 1z1 - 071 - 2 SQL - Oracle Database SQL 12 c

    Can someone explain.

    Roger

    OK - I guess I should have held off a few hours before my previous answer.  I just got an email in the Certification of Oracle program manager. Now, I have inside information.

    1Z0-071 is a SQL new test and the role it plays is between that of the review of databases SQL and SQL Expert.  Specifically, unlike review of databases SQL, passing it will give proof of the OCA for people who spend. I don't know more than that yet.  The review details page is not available and if the subjects are currently a grey area for me.  I'll probably create a blog on the review, if I can get a few details about it.

  • 10.2.0.5 Oracle database link (Linux - x 86) for MS SQL Server 2012 (x 64)

    Please guys, I really need your help on this issue.

    I tried using freetds driver but when I use db link I get this error:

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:

    [Generic connectivity using ODBC] [S1000] [9013] error General nvITrans_BeginT - rc = - 1. Please see the log file for more details.

    ORA-02063: preceding 2 lines MIXERI

    To cite that I can connect to the remote sql server through isql tool with no problem at all. I study a lot and I found no solution for this error, so to this end, I will try to find another alternative way.


    Is there another way to manage the communication link between the system of 2 DB db?

    Thank you

    Hello

    S erro coming from the ODBC side then you can try the following-

    1. change the listener.ora LD_LIBRARY_PATH for-

    (ENVS=LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/db/oracle/10.2.0/lib)

    stop and start the listener.

    2. don't you get the error even if you delete the entry-

    HS_FDS_SQLLEN_INTERPRETATION = 32

    3. get a debugging bridge route-

    -Comment the entry
    HS_FDS_TRACE_FILE_NAME = /db/oracle/10.2.0/hs/admin/MIKSERI.trc

    then the tracks go to the location by default with default names-

    /DB/Oracle/10.2.0/HS/log

    -set the level of the trace-

    HS_FDS_TRACE_LEVEL = DEBUG

    -start a new session of SQLPLUS, run select, close the session.

    -Download the trace from somewhere, it can be displayed by our care.

    It can also be an idea to install and use the 11.2.0.5 last DG4ODBC gateway that is certified with RDBMS 10.2.0.5 and available at My Oracle Support you.

    Patch 13390677: 11.2.0.4.0 PATCH SET FOR ORACLE DATABASE SERVER

    which must be installed in a new and separate ORACLE_HOME.

    Kind regards

    Mike

  • Need help in the migration of windows 2003 server Oracle database server 2012

    Hello

    My environment is oracle database 9i in windows server 2003, we want to move to Windows 2012 since the end of support for windows 2003.

    Please give me a plan, what no need to make the first database upgrade or upgrade of windows, what are the things will have to be considered at the level of Oracle database?

    Any help would be appreciated.

    Thank you

    Lherault

    Hello

    Given the version of your database is 9.2.0.8 and you want to upgrade to 11.2.0.4 and 9i database is running with log mode archive

    I have plan.

    (1) your database 9i working with the log mode archive Server 2003

    (2) you can take backup of Database 9i with RMAN

    (3) you can restore the backup to the base in 2008 (by using 11.2.0.4 software)

    (4) when the recovery is complete, you can open the database with resetlogs option upgrade.

    change the upgrade of open database resetlog.

    (5) once the database is open, you can run 'Upgrade PROCESS'

    (6) it should complete your upgrade in 2008

    If you think, restoration and recovery will take time, so you can install physics Eve with 11.2.0.4 version in 2008 for the Database 9i.

    During failover, you can recreate the controlfile and open the database ' change the upgrade of database open resetlog. "

    you will need to check the compatibility with the help from under documents

    Reference list Oracle database upgrade (Doc ID 730365.1)

    Note 551141.1 : Server Upgrade/Downgrade Compatibility matrix data base

  • Installation of Oracle Database 11.2.0.3 on Centos 6.4 to AWS

    We have been installing and configuring the oracle database 11.2.0.3 with OIAM 11 GR 1 material for a few years with great success.

    RHEL 5.7
    WLS 10.3.6

    OracleDB 11.2.0.3

    OIAM 11 GR 1 material

    OSH 11.1.1.6

    We have recently decided to move our VMs to EC2 from Amazon using CentOS 6.4 environment.  Our client currently has us using the operating system is a hardened version of the RHEL5.7.  We have installed on CentOS in the past, but not to 6.4.  All prereqs are installed, but we do not seem to get the database to set up completely.  Running in interactive or silent mode makes no difference.

    When running in silent mode, we received the following:

    . / runInstaller-silent - ignoreSysPreReqs responsefile - db_install_w_database.rsp

    From Oracle Universal Installer...

    Check the Temp space: must be greater than 120 MB.   Real 6463 MB passed

    Check the swap space: must be greater than 150 MB.   Real 24999 MB passed

    Preparations for the launch of Oracle Universal Installer from/tmp/OraInstall2015-04-13_04-55-50 PM. Please wait...

    You can find the log of this installation session to:

    /opt/oraInventory/logs/installActions2015-04-13_04-55-50PM.log

    Installing Oracle Database 11 g succeeded.

    Please check ' / opt/oraInventory/logs/silentInstall2015-04-13_04-55-50PM.log' for details.

    [WARNING] [INS-32091] Some of the wizards of configuration failed.

    CAUSE: The Software Installation was successful. But some configuration wizards failed were cancelled or ignored.

    ACTION: Check the logs or contact Oracle Support.

    Check the Setup log:

    INFO: Oracle Net Listener startup:

    INFORMATION: The information provided for this listening port is currently in use by other software on this computer.

    INFO: Beginning of earpiece failed.

    NEWS: Check the file path for more details: /opt/oracle/cfgtoollogs/netca/trace_OraDb11g_home1-1504134PM5854.log

    INFO: Oracle Net Services Configuration failed.  The exit code is 1

    Checking the netca journal

    [main] [2015-04-13 16:58:55.132 UTC] NativeSystem.runRemoteExecCmd [CmdToolUtil.doexecute:473] failed. Command = / opt/oracle/product/dbs/srvm/admin/getcrshome arguments = env [] = error null = null

    [main] [2015-04-13 16:58:55.133 UTC] [HAUtils.getHASHome:938]  Could not get at home.

    PRCT-1011: cannot run 'getcrshome '. Error: null

    oracle.cluster.deployment.ClusterwareInfo.getConfiguredCRSHome(ClusterwareInfo.java:483)

    oracle.sysman.assistants.util.hasi.HAUtils.getConfiguredGridHome(HAUtils.java:782)

    oracle.sysman.assistants.util.hasi.HAUtils.getHASHome(HAUtils.java:934)

    oracle.sysman.assistants.util.hasi.HAUtils.getHASHome(HAUtils.java:955)

    oracle.sysman.assistants.util.hasi.HAUtils.isHASConfigured(HAUtils.java:529)

    oracle.net.ca.ConfigureListener.isHASConfigured(ConfigureListener.java:1516)

    oracle.net.ca.ConfigureListener.isHASRunning(ConfigureListener.java:1538)

    oracle.net.ca.ConfigureListener.validateListenerName(ConfigureListener.java:1785)

    oracle.net.ca.ConfigureListener.typicalConfigure(ConfigureListener.java:183)

    oracle.net.ca.SilentConfigure.performSilentConfigure(SilentConfigure.java:185)

    oracle.net.ca.InitialSetup. < init > (NetCA.java:4189)

    oracle.net.ca.NetCA.main (NetCA.java:428)

    [main] [2015-04-13 16:58:55.133 UTC] [HAUtils.isHASConfigured:532]  HA House is null

    [main] [2015-04-13 16:58:55.134 UTC] [ConfigureListener.isHASConfigured:1524]  Is Oracle configured Restart: false

    [main] [2015-04-13 16:58:55.134 UTC] [ConfigureListener.isHASRunning:1553]  Is Oracle Restart running: false

    [main] [2015-04-13 16:58:55.134 UTC] [ConfigureListener.listenerExists:344]  Listener is 'LISTENER' already exists: false

    [main] [2015-04-13 16:58:55.135 UTC] [ConfigureListener.typicalConfigure:215]  Check free beach port: 1521-1540

    [main] [2015-04-13 16:58:55.135 UTC] [ConfigureListener.isPortFree:1080]  Check whether the port 1521 is free on the local computer.

    [main] [2015-04-13 16:58:55.135 UTC] [ConfigureListener.isPortFree:1095]  InetAddress.getByName (127.0.0.1): /127.0.0.1

    [main] [2015-04-13 16:58:55.136 UTC] [ConfigureListener.isPortFree:1097]  The local host IP address: awscentoschrome.amazonaws.com/52.4.205.244

    [main] [2015-04-13 16:58:55.136 UTC] [ConfigureListener.isPortFree:1099]  Local host name: awscentoschrome.amazonaws.com

    [main] [2015-04-13 16:58:55.136 UTC] [ConfigureListener.isPortFree:1115]  IP address: awscentoschrome.amazonaws.com/52.4.205.244, is IPv6 address: false

    [main] [2015-04-13 16:58:55.137 UTC] [ConfigureListener.isPortFree:1118]  IP address: awscentoschrome.amazonaws.com/52.4.205.244 is a link local address: false

    [main] [2015-04-13 16:58:55.137 UTC] [ConfigureListener.isPortFree:1143]  Creating ServerSocket on Port: 1521, IP address: awscentoschrome.amazonaws.com/52.4.205.244

    [main] [2015-04-13 16:58:55.140 UTC] [ConfigureListener.isPortFree:1178] java.net.PlainSocketImpl.socketBind (Native Method)

    java.net.PlainSocketImpl.bind(PlainSocketImpl.java:377)

    java.net.ServerSocket.bind(ServerSocket.java:319)

    java.net.ServerSocket. < init > (ServerSocket.java:185)

    oracle.net.ca.ConfigureListener.isPortFree(ConfigureListener.java:1145)

    oracle.net.ca.ConfigureListener.typicalConfigure(ConfigureListener.java:219)

    oracle.net.ca.SilentConfigure.performSilentConfigure(SilentConfigure.java:185)

    oracle.net.ca.InitialSetup. < init > (NetCA.java:4189)

    oracle.net.ca.NetCA.main (NetCA.java:428)

    [main] [2015-04-13 16:58:55.140 UTC] [ConfigureListener.isPortFree:1191]  Back is free to Port 1521: false

    2 things come to mind with the netca newspaper:

    (1) we use NO HA... it seems that we could ignore that.

    2) 1521 port is NOT in use.  I ran netstat - anpl | grep 1521 in 5 second loop delay when running the installation and it never appeared.



    Does anyone know if there is something different with Centos6.4 or AWS facilities that would cause this?  In addition, the log shows that the installation went well and it was with the configuration.  The spfile does not exist and when root.sh is run after installation, the oratab has no entry ($ORACLE_SID: $ORACLE_HOME: N |) There > does not exist).


    Ideas?

    Found the question in forums of http://stackoverflow.com . We searched before but does not search the correct error. I searched on "information for this listening port is currently in use by other software on this computer." and found a forum thread that we explained our problem.

    We use AWS as our server provider. AWS has 2 IP addresses he uses. We use for PuTTY in and access the server Public and private one located on eth0. Obviously, the private IP address must be in the file/etc/hosts not the public IP address.

    The database installed and is running.

  • Link to MySql Error [Microsoft] [ODBC Driver Manager] Oracle database

    Hi all:

    I need your help, I want to access mysql oracle 11g R2 database. When I try to connect oracle database mysql database, I get the error below, kindly help your help will be appreciated, thanks in advance


    When I run:


    Select * from test1@mysqltest;

    [ERROR]

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:

    [Microsoft] [ODBC driver manager] Data source name not found and no driver by default specified {IM002}

    ORA-02063: preceding 2 lines of THAONT1. MYSQL

    28500 00000 - "connection between ORACLE and a non-Oracle system has sent this message:

    * Cause: The cause is explained in the forwarded message.

    * Action: See the documentation for the non-Oracle of the message system.

    My config

    Enterprise Edition of Oracle db:11.2.0.3

    OS: Win 7 64 bit

    bit ODBC: 64 for the MySQL Connector

    MySQL db:5.1.19

    ODBC configuration

    Capture.PNG

    LISTENING PORT. ORA:

    =============

    listener.ora # Network Configuration file: D:\app\THAONTSE90151\product\11.2.0\dbhome_3\NETWORK\ADMIN\listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = CLRExtProc)

    (ORACLE_HOME = D:\app\THAONTSE90151\product\11.2.0\dbhome_3)

    (= Extproc PROGRAM)

    (ENVS = "EXTPROC_DLLS=ONLY:D:\app\THAONTSE90151\product\11.2.0\dbhome_3\bin\oraclr11.dll")

    )

    (SID_DESC =

    (SID_NAME = tst)

    (ORACLE_HOME = D:\app\THAONTSE90151\product\11.2.0\dbhome_3)

    (PROGRAM = dg4odbc)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    )

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.12.1.58)(PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = D:\app\THAONTSE90151

    TNSNAMES. ORA:

    ================

    TSTLINK =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.12.1.58)(PORT = 1521))

    )

    (CONNECT_DATA =

    (SID = tst)

    )

    (HS = OK)

    )

    inittst.ora($ORACLE_HOME/HS/admin)

    ========================

    # This is an example of initialization file of the agent that contains the HS settings

    # necessary for the database to ODBC gateway

    # HS init parameters

    #

    HS_FDS_CONNECT_INFO = testmysql

    HS_FDS_TRACE_LEVEL = off

    # Required for the non-Oracle system environment variables

    ODBCINI value #= D:\ODBC. INI


    the dblink is created between oracle and mysql:

    ==========================

    SQL > create database public link mysqltest

    connect to thaont identified by abc123 using 'TSTLINK ';

    SQL > select * from test1@mysqltest;

    [ERROR]

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:

    [Microsoft] [ODBC driver manager] Data source name not found and no driver by default specified {IM002}

    ORA-02063: preceding 2 lines of THAONT1. MYSQL

    28500 00000 - "connection between ORACLE and a non-Oracle system has sent this message:

    * Cause: The cause is explained in the forwarded message.

    * Action: See the documentation for the non-Oracle of the message system.

    kindly help.

    Thank you and best regards.

    The error message '[Microsoft] [ODBC Driver Manager] data source name not found and no pilot by specified default {IM002}' explainind auto - DG4ODBC is not able to find the ODBC DSN you created.

    In your file init of gateway, you have set up the DSN: HS_FDS_CONNECT_INFO = testmysql

    And according to the administrator of ODBC in Windows screenshot, you have created a DSN called testmysql - unfortunately you created as a USER DSN. But DG4ODBC needs a SYSTEM DSN. The reasin why he needs a system DSN is that, by default the Oracle listener is running in the local system account. Therefore, when create you a USER DSN ODBC it can be access by the user who created it, but no one else can use it - and also not the local system account which serves as the Oracle listener. If you need to create a system DSN that each user on this computer can use the DSN (including the local system account).

    -Klaus

Maybe you are looking for