Setup heterogeneous service to connect MySQL from Oracle

Hello,
I have got an issue with heterogeneous service configuration like
SQL> select * from colour@mysql_local;
select * from colour@mysql_local
ERROR at line 1:
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-02063: preceding line from MYSQL_LOCAL
If anybody can advise me what is wrong in conf or might be I missed something
Thanks
Environment:
OS: Windows 7 Pro
Oracle 11.2.0.3
MySQL: 5.6
Configuration:
System ODBC configured : MYSQL_LOCAL
Tested connection - sucessful
Listener
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\product\11.2.0\dbhome_1\bin\oraclr11.dll")
(SID_DESC =
(SID_NAME = MYSQL_LOCAL)
(ORACLE_HOME = C:\app\product\11.2.0\dbhome_1)
(PROGRAM=dg4odbc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = C:\app
Tnsnames.ora
MYSQL_LOCAL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SID = MYSQL_LOCAL)
(HS = OK)
initdg4odbc.ora
HS_FDS_CONNECT_INFO = mysql_local
HS_FDS_TRACE_LEVEL = OFF
SQL> conn / as sysdba
SQL> create public database link MYSQL_LOCAL connect to root identified by 12346 using 'MYSQL_LOCAL';
C:\Windows\system32>lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.3.0 - Production on 08-MAY-2013 17:44:24
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.3.0 - Production
Start Date 08-MAY-2013 17:44:05
Uptime 0 days 0 hr. 0 min. 18 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\product\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File C:\app\diag\tnslsnr\D-9RGC8X1\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "MYSQL_LOCAL" has 1 instance(s).
Instance "MYSQL_LOCAL", status UNKNOWN, has 1 handler(s) for this service...
Service "QA_IMS_MYSQL" has 1 instance(s).
Instance "QA_IMS_MYSQL", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\Windows\system32>tnsping mysql_local
TNS Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on 08-MAY-2013 17:44:36
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
C:\app\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SID = MYSQL_LOCAL) (HS = OK)))
OK (0 msec)
SQL> conn / as sysdba
Connected.
SQL> select * from colour@mysql_local;
select * from colour@mysql_local
ERROR at line 1:
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-02063: preceding line from MYSQL_LOCAL

Hi,
The gateway file initMYSQL_LOCAL.ora should be placed in the directory -
$ORACLE_HOME\hs\admin
which is the expected location. In your setup this should be -
C:\app\product\11.2.0\dbhome_1\hs\admin
If the file is already in that location then make sure that in the listener.ora and tnsnames.ora that in each section every line except the first line starts with at least one space -
SID_LIST_LISTENER =
<space>(SID_LIST =
<space>(SID_DESC =
LISTENER =
<space>(DESCRIPTION_LIST =
Tnsnames.ora
MYSQL_LOCAL =
<space>(DESCRIPTION =
<space>(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
However, there is also a problem with the tnsnames.ora file. You have -
Tnsnames.ora
MYSQL_LOCAL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SID = MYSQL_LOCAL)
(HS = OK)
) <=== move this bracket
but it should be -
Tnsnames.ora
MYSQL_LOCAL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SID = MYSQL_LOCAL)
) <=== bracket moved here
(HS = OK)
Of course, with spaces as shown above. They are often lost in the forums.
You may also need to change -
(HOST = localhost)
to -
(HOST = <actual host name>)
but it depends on your setup.
Try these changes and let me know what happens.
Regards,
Mike

Similar Messages

  • ORA-28500 and ORA-02063 while connecting MySQL from Oracle-

    Dear All,
    My Database is Oracle 11gR2 Rac of 2 nodes and on Linux 64-Bit operating system.
    Version of my MySQL database is 5.5.17 it is on Linux 32-Bit operating system.
    I am trying to connect MySQL database from Oracle database using a database link.
    These are the step by step process that I am following to achieve my target. All my processes are on one node of Oracle RAC.
    1)
    Yum install mysql-connector-odbc
    Yum install unixODBC
    2)
    Edit file /etc/odbc.ini
    [test]
    Driver = /usr/lib64/libmyodbc3.so
    Description = MySQL ODBC 3.51 Driver DSN
    SERVER = 10.0.0.1
    PORT = 3306
    USER = test
    Password = test
    Database = test
    OPTION = 3
    SOCKET =
    3)
    Edit file /etc/odbcinst.ini
    [MySQL]
    Description = ODBC for MySQL
    Driver = /usr/lib64/libmyodbc3.so
    Setup = /usr/lib64/libodbcmyS.so
    FileUsage = 1
    4) test connection
    isql –v test test test
    Returns:
    | Connected! |
    | |
    | sql-statement |
    | help [tablename] |
    | quit |
    | |
    SQL>
    5) Now I edit listener.ora file and add the entry. After entry my listener.ora file is like this:
    LISTENER =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = LISTENER))
    (ADDRESS = (PROTOCOL = TCP)(HOST=testnode1)(PORT = 1521))
    # line added by Agent
    LISTENER_SCAN1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = LISTENER_SCAN1))
    # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1 = ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON # line added by Agent
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (PROGRAM = dg4odbc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = test)
    (ENVS=LD_LIBRARY_PATH = /usr/local/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
    6) After these entries the listener status after RESTART is as following:
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 27-DEC-2011 01:19:32
    Uptime 0 days 9 hr. 31 min. 12 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /u01/app/grid/diag/tnslsnr/racnode1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=testnode1)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "test" has 1 instance(s).
    Instance "test", status UNKNOWN, has 1 handler(s) for this service...
    Service "testdb" has 1 instance(s).
    Instance "testdb1", status READY, has 1 handler(s) for this service...
    Service "racdbXDB" has 1 instance(s).
    Instance "testdb1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    7) Then in the tnsnames.ora file I added the following entry:
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = EXTPROC1521)
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    test =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SID = test)
    (HS = OK)
    When i tnsping test, it works.
    8) I edit the .bash_profile file for Oracle
    ORACLE_HOME, ORACLE_BASE were already pointing to the correct destination, I added:
    LD_LIBRARY_PATH=/usr/local/lib:/u01/app/oracle/product/11.1.0/db_1/lib:/u01/app/oracle/product/11.2.0/dbhome_1/hs/lib:/usr/lib64:/usr/lib
    export LD_LIBRARY_PATH
    ODBCINI=/etc/odbc.ini
    export ODBCINI
    ODBCINSTINI=/etc/odbc.ini
    export ODBCINSTINI
    ODBCSYSINI=/etc
    export ODBCSYSINI
    9) Then i configured $ORACLE_HOME/hs/admin/inithsodbc.ora
    And Modified these lines:
    HS_FDS_CONNECT_INFO = test
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_TRACE_FILE_NAME = odbc_test.log
    HS_FDS_TRACE_LEVEL = 4
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    HS_FDS_SUPPORT_STATISCTICS = FALSE
    HS_LANGUAGE = AMERICAN_AMERICA.WE8ISO8859P1
    set ODBCINI = /etc/odbc.ini
    10) Then i created a database link with the following command:
    Create public database link test connect to test identified by test using ‘test’;
    I tried username and password in database link with double quotes also.
    11) Now Finally when I try to select records from mysql table:
    select count(*) from "table"@"test"; -- I have tried with and without double quotes
    I get the following error:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from TEST
    How to get through this error, and how to check logs for HS?
    Your help is required.
    Regards, Imran
    Edited by: misterimran on Dec 27, 2011 1:21 PM

    Hi,
    In your listener.ora for the DG4ODBC entry you had -
    (ENVS=LD_LIBRARY_PATH = /usr/local/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
    but this should also include the path for the driver manager directory which in your case is /usr/lib64 so could you add this ?
    The error -
    Failed to load ODBC library symbol: /usr/lib64/libmyodbc3.so(SQLSetDescRec)
    indicates the /usr/lib64 directory cannot be accessed.
    The entry should then look like -
    (SID_DESC =
    <space>(PROGRAM = dg4odbc)
    <space>(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    <space>(SID_NAME = test)
    <space>(ENVS=LD_LIBRARY_PATH = /usr/local/lib:/usr/lib64:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
    <space>)
    The spaces may have bene lost when posting but there should be at least one space in the file as indicated by the <space>.
    After making the change then stop and start the listener.
    If you still have problems then please post again the current versions of the configuration files, the full errors shown in SQLPLUS for a select and the output from a debug trace showing the errors.
    The information shows you are using the 3.51 MySQL ODBC driver so could you also try with the latest version of the 5.1 driver and see if you have the same problem ?
    Regards,
    Mike

  • Connecting db2 from oracle

    hi,
    i)what is the cwbcfg program to be executed you have mentioned.
    ii) I executed caths.sql
    iii) In tnsnames.ora how to specify the dsn that you create for db2 database.
    for example if I have created a dsn for db2 naming it kishore_dsn, how do i specify that in tnsnames.ora file.
    and by what sid is the iniths_sid.ora to be created. is it the dsn you create for db2 database. for ex. if dsn name is kishore_dsn, should the file be initkishore_dsn.ora, or it should be the name of local oracle database service.
    DESIGN.FORESEEINDIA.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = compaq6)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = design)
    KISHORE_DSN =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = compaq6)(PORT = 1521))
    (CONNECT_DATA = (SERVICE_NAME = KISHORE_DSN)
    (HS = OK)
    I am getting ora-12154 tns could not resolve service name, while tring to access db2 after creating public links.
    I would appreciate if you can send me step by step generic connectivity ,connecting db2 from oracle.
    Prabhath.

    Hi Tak,
    Thanks for your response.
    My odbc data source name is : kishore_dsn
    driver : ibm db2 odbc driver
    I am connecting db2 8 on windows from oracle 9i on windows.
    MY iniths_sid.ora file is initdesign.ora
    initdesign.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = KISHORE_DSN
    HS_FDS_TRACE_LEVEL = 0
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    I created listener.ora in network/admin
    # LISTENER.ORA Network Configuration File: c:\disk1\software\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC5))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = compaq6)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\disk1\software)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = design)
    (ORACLE_HOME = c:\disk1\software)
    (SID_NAME = design)
    (SID_DESC =
    (SID_NAME = design)
    (ORACLE_HOME = c:\disk1\software)
    (PROGRAM = hsodbc) )
    my tnsnames.ora is
    # TNSNAMES.ORA Network Configuration File: c:\disk1\software\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    INST1_HTTP.FORESEEINDIA.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = compaq6)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA.FORESEEINDIA.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC5))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    DESIGN1.FORESEEINDIA.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = compaq6)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = design)
    DESIGN.FORESEEINDIA.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = compaq6)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = design)
    KISHORE.FORESEEINDIA.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = compaq6)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = design)
    (HS = OK)
    My sqlnet.ora file
    # SQLNET.ORA Network Configuration File: c:\disk1\software\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DEFAULT_DOMAIN = foreseeindia.com
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    Before creating these files I had run caths.sql from sys user.
    After all the configuration
    I logged into database with service name : kishore
    user : scott
    I created a db link
    create database link custard
    connect to scott identified by tiger
    using 'kishore';
    I issued a select * from addr@custard; where addr is in remote db2 database.
    I am getting the following error
    ERROR at line 1:
    ORA-28546: connection initialization failed, probable Net8 admin error
    ORA-28511: lost RPC connection to heterogeneous remote agent using
    SID=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=compaq6)(PORT=1521))
    )(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=design)))
    ORA-02063: preceding 2 lines from CUSTARD
    I am struck with this for the past 1 week, so kindly help.
    If someone can access a tar from metalink and post it also, as currently we donot have the support.
    Regards,
    PrabhathG

  • Connectivity issues from Oracle to Sybase

    Friends.
    I have connectivity issue from Oracle 9.2.0.1 to Sybase 12.5 ASE .I am connecting through the database link in oracle to access the tables.
    The error message i am getting :
    select count(*) from TEST_TABLE@IND_TEST;
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    523 80
    ORA-02063: preceding 2 lines from IND_TEST
    Please guide me how to solve this error message. is it version incompatible now?
    Thanks
    Rocky

    Hi,
    You are now making the connection to the Sybase database but there is a problem with the user and password used in the database link.
    Sybase is case sensitive for names so you need to surround the user/password in double quotes to make sure they are passed to Sybase in the correct case -
    create database link ind_test connect to "sybuser" identified by "sybpass" using 'tnsnames_ora_entry' ;
    where sybuser is the userid as created in Sybase with the password sybpass.
    If they were setup in Sybase in mixed case then it would be -
    create database link ind_test connect to "Sybuser" identified by "Sybpass" using 'tnsnames_ora_entry' ;
    Regards,
    Mike
    Edited by: mkirtley on Sep 27, 2011 12:55 PM

  • Unicode characters not transferred correctly to mysql from oracle

    Hi,
    We are transferring data from Oracle11g to MySQL5.5 using DG4ODBC. Data is getting transferred successfully to MySQL, but the Characters like Russian, Chinese etc. are not transferred succesfully. They are shown as ? in MySQL database and even with GUI tools like sqldevelopper or squirrel.
    Oracle Uses NLS_Character set is AL32UTF8 and MySQL database is UTF8.
    Oracle version is 11.1.0.6.0
    MySQL is 5.5.
    unixODBC 2.2.11, comes from redhat for RHEL 5
    I tried setting HS_LANGUAGE=american_america.al32utf8, but no luck.
    Can someone please give hint to configure gateway initialization parameters or some other configuration which is required to support all language characters during transfer.
    -Sudhakar

    Hi,
    Updated to the versions you suggested..Now receiving below error when trying to transfer data from oracle to Mysql using DBMS_HS_PASSTHROUGH.
    Actually written procedure to transfer all records..it works on few tables, but throws below error when transferring data from other tables.
    Any idea where could be wrong?
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02067: transaction or savepoint rollback required
    ORA-28511: lost RPC connection to heterogeneous remote agent using
    SID=ORA-28511: lost RPC connection to heterogeneous remote agent using
    SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=XXXXXXX)(PORT=1521))
    (CONNECT_DATA=(SID=mysqlodbc)))
    ORA-02055: distributed update operation failed; rollback required
    ORA-02063: preceding lines from MYSQL
    ORA-06512: at "XXXXXXX.TRANSFER_XXXXXX", line 41
    ORA-06512: at line 1
    below is the gateway trace file dump.....
    Oracle Corporation --- TUESDAY DEC 20 2011 14:10:19.578
    Heterogeneous Agent Release
    11.2.0.3.0
    Oracle Corporation --- TUESDAY DEC 20 2011 14:10:19.577
    Version 11.2.0.3.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    HOSGIP returned value of "REPEATABLE_READ" for HS_FDS_TRANSACTION_ISOLATION
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 32 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "mysqlodbc"
    Product-Info:
    Port Rls/Upd:3/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.3.0_0011, Instance:mysqlodbc
    Exiting hgogprd, rc=0
    hostmstr: 0: HOA After hoagprd
    hostmstr: 0: HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P1
    LANG=en_US.UTF-8
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2011/12/20-14:10:19
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib/libodbc.so"
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLAllocHandle
    symbol_peflctx=0x8b0790
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLBindCol
    symbol_peflctx=0x8b0930
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLBindParameter
    symbol_peflctx=0x8b1350
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLCancel
    symbol_peflctx=0x8b2b50
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLDescribeParam
    symbol_peflctx=0x8bc280
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLDisconnect
    symbol_peflctx=0x8bc810
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLEndTran
    symbol_peflctx=0x8bf820
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLExecute
    symbol_peflctx=0x8c1480
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLFetch
    symbol_peflctx=0x8c1e10
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLFreeHandle
    symbol_peflctx=0x8c4060
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLFreeStmt
    symbol_peflctx=0x8c4090
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetData
    symbol_peflctx=0x8c5df0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetEnvAttr
    symbol_peflctx=0x8c9a30
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetFunctions
    symbol_peflctx=0x8c9e30
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLMoreResults
    symbol_peflctx=0x8cbef0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLNumResultCols
    symbol_peflctx=0x8cce10
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLParamData
    symbol_peflctx=0x8cd1d0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLPutData
    symbol_peflctx=0x8cf810
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLRowCount
    symbol_peflctx=0x8cfd00
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLSetEnvAttr
    symbol_peflctx=0x8d26a0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLSetDescRec
    symbol_peflctx=0x8d2420
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLColAttribute
    symbol_peflctx=0x8b3680
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLColumns
    symbol_peflctx=0x8b5580
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLConnect
    symbol_peflctx=0x8b96c0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLDescribeCol
    symbol_peflctx=0x8bb9a0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLDriverConnect
    symbol_peflctx=0x8bd4f0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLExecDirect
    symbol_peflctx=0x8c0dc0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLForeignKeys
    symbol_peflctx=0x8c2950
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetConnectAttr
    symbol_peflctx=0x8c44f0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetDescField
    symbol_peflctx=0x8c6620
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetDescRec
    symbol_peflctx=0x8c6cc0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetDiagField
    symbol_peflctx=0x8c8160
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetDiagRec
    symbol_peflctx=0x8c9030
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetInfo
    symbol_peflctx=0x8caa00
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetStmtAttr
    symbol_peflctx=0x8cad80
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetTypeInfo
    symbol_peflctx=0x8cba60
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLPrepare
    symbol_peflctx=0x8cdab0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLPrimaryKeys
    symbol_peflctx=0x8ce110
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLProcedureColumns
    symbol_peflctx=0x8ce8b0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLProcedures
    symbol_peflctx=0x8cf0d0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLSetConnectAttr
    symbol_peflctx=0x8d0040
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLSetStmtAttr
    symbol_peflctx=0x8d3f00
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLSetDescField
    symbol_peflctx=0x8d1f80
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLStatistics
    symbol_peflctx=0x8d5ff0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLTables
    symbol_peflctx=0x8d7060
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Exiting hgolofn, rc=0 at 2011/12/20-14:10:19
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 32 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoainit
    hostmstr: 0: HOA Before hoalgon
    Entered hgolgon at 2011/12/20-14:10:19
    reco:0, name:sudhakar, tflag:0
    Entered hgosuec at 2011/12/20-14:10:19
    Exiting hgosuec, rc=0 at 2011/12/20-14:10:19
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using sudhakar as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2011/12/20-14:10:19
    HS_FDS_CONNECT_INFO = "mysql5_hgw"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2011/12/20-14:10:19
    dsn:mysql5_hgw, name:sudhakar
    optn:
    Entered hgocip at 2011/12/20-14:10:19
    dsn:mysql5_hgw
    Exiting hgocip, rc=0 at 2011/12/20-14:10:19
    ##>Connect Parameters (len=40)<##
    ## DSN=mysql5_hgw;
    #! UID=sudhakar;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2011/12/20-14:10:19
    Entered hgolosf at 2011/12/20-14:10:19
    ODBC Function-Available-Array 0xFFFE 0x01FF 0xFF00 0xFFFF 0x03FF 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0xFE00 0x3F5F
    Exiting hgolosf, rc=0 at 2011/12/20-14:10:19
    DriverName:libmyodbc5.so, DriverVer:05.01.0008
    DBMS Name:MySQL, DBMS Version:5.5.17-log
    Exiting hgocont, rc=0 at 2011/12/20-14:10:19
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr: 0: RPC Before Upload Caps
    hostmstr: 0: HOA Before hoaulcp
    Entered hgoulcp at 2011/12/20-14:10:19
    Entered hgowlst at 2011/12/20-14:10:19
    Exiting hgowlst, rc=0 at 2011/12/20-14:10:19
    SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
    TXN Capable:3, Isolation Option:0xf
    SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
    HOSGIP returned value of "TRUE" for HS_FDS_QUOTE_IDENTIFIER
    SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
    3 instance capabilities will be uploaded
    capno:1964, context:0x00000000, add-info: 0
    capno:1989, context:0x00000000, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
    Exiting hgoulcp, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoaulcp
    hostmstr: 0: RPC After Upload Caps
    hostmstr: 0: RPC Before Upload DDTR
    hostmstr: 0: HOA Before hoauldt
    Entered hgouldt at 2011/12/20-14:10:19
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoauldt
    hostmstr: 0: RPC After Upload DDTR
    hostmstr: 0: RPC Before Begin Trans
    hostmstr: 0: HOA Before hoabegn
    Entered hgobegn at 2011/12/20-14:10:19
    tflag:0 , initial:1
    hoi:0xbfb25bdc, ttid (len 35) is ...
    00: 4F52434C 2E454445 4C4B4559 2E4E4554 [ORCL.EDELKEY.NET]
    10: 2E653064 34343962 342E332E 312E3535 [.e0d449b4.3.1.55]
    20: 363334 [634]
    tbid (len 32) is ...
    00: 4F52434C 2E454445 4C4B4559 2E4E4554 [ORCL.EDELKEY.NET]
    10: 5B332E31 2E353536 33345D5B 312E345D [[3.1.55634][1.4]]
    Exiting hgobegn, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoabegn
    hostmstr: 0: RPC After Begin Trans
    hostmstr: 0: RPC Before SQL Bundling
    hostmstr: 0: HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2011/12/20-14:10:19
    type:1
    SQL text from hgopars, id=1, len=530 ...
    000: 696E7365 72742069 6E746F20 73746174 [insert into xxxx]
    010: 696F6E73 20282273 74617469 6F6E6964 [xxxx ("xxxxxxxxx]
    020: 222C2261 646D696E 64657363 72697074 [","xxxxxxxxxxxxx]
    030: 696F6E22 2C22636F 756E7472 79696422 [xxx","xxxxxxxxx"]
    040: 2C226465 73637269 7074696F 6E222C22 [,"xxxxxxxxxxx","]
    050: 6C616E67 75616765 6964222C 226C696E [xxxxxxxxxx","xxx]
    060: 6B6F7468 65727365 72766963 6573222C [xxxxxxxxxxxxxx",]
    070: 226C6F67 6F75726C 222C226C 6F6E6764 ["xxxxxxx","xxxxx]
    080: 65736372 69707469 6F6E222C 226E616D [xxxxxxxxxx","xxx]
    090: 65222C22 73746174 7573222C 2274696D [e","xxxxxx","xxx]
    0A0: 65637265 61746564 222C2274 696D6575 [xxxxxxxx","xxxxx]
    0B0: 70646174 6564222C 22757365 72696463 [pdated","xxxxxxx]
    0C0: 72656174 6564222C 22757365 72696475 [xxxxxx","xxxxxxx]
    0D0: 70646174 6564222C 22776562 73697465 [pdated","xxxxxxx]
    0E0: 222C2262 726F6164 63617374 65726964 [","xxxxxxxxxxxxx]
    0F0: 222C2273 74617469 6F6E735F 696E7465 [","xxxxxxxxxxxxx]
    100: 6765725F 69647822 2C226261 6E6E6572 [ger_idx","xxxxxx]
    110: 5F616363 6573735F 64617465 222C2262 [xxxxxxxxxxxx","b]
    120: 616E6E65 725F696D 706C5F64 61746522 [xxxxxxxxxxxxxxx"]
    130: 2C226261 6E6E6572 5F72656D 6F766564 [,"xxxxxxxxxxxxxx]
    140: 5F646174 65222C22 62726F61 64636173 [_date","xxxxxxxx]
    150: 745F7479 7065222C 227A6F6E 65696422 [t_type","xxxxxx"]
    160: 2C226272 6F616463 6173745F 72616E64 [,"xxxxxxxxxxxxxx]
    170: 6F6D5F72 6561736F 6E222C22 6669656C [xxxxxxxxx","fiel]
    180: 64736368 65636B65 64222C22 65787465 [xxxxxxxxx","exte]
    190: 726E616C 73746174 696F6E69 64222C22 [xxxxxxxxxxxxx","]
    1A0: 6D61696E 74656E61 6E636562 726F6164 [xxxxxxxxxxxxxxxx]
    1B0: 63617374 65726964 222C2261 6C746572 [xxxxxxxx","alter]
    1C0: 6E617469 76655F6E 616D6522 290A2020 [xxxxxxxxxxx").  ]
    1D0: 20202020 56414C55 45532028 3F2C3F2C [    VALUES (?,?,]
    1E0: 3F2C3F2C 3F2C3F2C 3F2C3F2C 3F2C3F2C [?,?,?,?,?,?,?,?,]
    210: 3F29 [?)]
    Exiting hgopars, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoxpars
    hostmstr: 0: RPC After SQL Bundling
    hostmstr: 0: RPC Before SQL Bundling
    hostmstr: 0: HOA Before hoaexec
    Entered hgoexec, cursor id 1 at 2011/12/20-14:10:19
    octype=0 (?????)
    hgoexec, line 145: Printing hoada @ 0x9e7e1b8
    MAX:27, ACTUAL:27, BRC:1, WHT=3 (BIND_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    3 DECIMAL N 6 0 0/ 0 0 0 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    3 DECIMAL N 2 0 0/ 0 0 0 0
    12 VARCHAR N 18 0 0/ 0 31 0 200
    3 DECIMAL N 3 0 0/ 0 0 0 0
    3 DECIMAL N 1 0 0/ 0 0 0 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    12 VARCHAR N 196 0 0/ 0 31 0 200
    12 VARCHAR N 33 0 0/ 0 31 0 200
    3 DECIMAL N 1 0 0/ 0 0 0 0
    93 TIMESTAMP N 16 0 0/ 0 0 0 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    3 DECIMAL N 4 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR N 52 0 0/ 0 31 0 200
    3 DECIMAL N 5 0 0/ 0 0 0 0
    3 DECIMAL N 5 0 0/ 0 0 0 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    3 DECIMAL N 1 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    3 DECIMAL N 1 0 0/ 0 0 0 0
    3 DECIMAL N 6 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    Entered hgoprbv at 2011/12/20-14:10:19
    hgoprbv, line 162: Printing hoada @ 0x9e7e1b8
    MAX:27, ACTUAL:27, BRC:1, WHT=3 (BIND_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    3 DECIMAL N 6 0 0/ 0 0 0 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    3 DECIMAL N 2 0 0/ 0 0 0 0
    12 VARCHAR N 18 0 0/ 0 31 0 200
    3 DECIMAL N 3 0 0/ 0 0 0 0
    3 DECIMAL N 1 0 0/ 0 0 0 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    12 VARCHAR N 196 0 0/ 0 31 0 200
    12 VARCHAR N 33 0 0/ 0 31 0 200
    3 DECIMAL N 1 0 0/ 0 0 0 0
    93 TIMESTAMP N 16 0 0/ 0 0 0 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    3 DECIMAL N 4 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR N 52 0 0/ 0 31 0 200
    3 DECIMAL N 5 0 0/ 0 0 0 0
    3 DECIMAL N 5 0 0/ 0 0 0 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    3 DECIMAL N 1 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    3 DECIMAL N 1 0 0/ 0 0 0 0
    3 DECIMAL N 6 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 1, InputOutputType 1, ValueType 1, ParameterType 3,
    ColumnSize 6, DecimalDigits 0, BufferLength 6,StrLen_or_IndPtr 0x0x9e909cc (*0x6)
    (Array size: 1)
    6 bytes of data at 0x0x9e8d684...
    0: 32303536 3835 [205685]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 2, InputOutputType 1, ValueType 1, ParameterType 12,
    ColumnSize 1, DecimalDigits 0, BufferLength 0,StrLen_or_IndPtr 0x0x9e909d0 (*0xffffffff)
    NULL Data Specified
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 3, InputOutputType 1, ValueType 1, ParameterType 3,
    ColumnSize 2, DecimalDigits 0, BufferLength 2,StrLen_or_IndPtr 0x0x9e909d4 (*0x2)
    (Array size: 1)
    2 bytes of data at 0x0x9e8d634...
    0: 3330 [30]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 4, InputOutputType 1, ValueType 1, ParameterType 12,
    ColumnSize 18, DecimalDigits 0, BufferLength 18,StrLen_or_IndPtr 0x0x9e909d8 (*0x12)
    (Array size: 1)
    18 bytes of data at 0x0x9e7df70...
    00: 41205265 64652064 61204661 6DED6C69 [A Rede da Fam.li]
    10: 612E [a.]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 5, InputOutputType 1, ValueType 1, ParameterType 3,
    ColumnSize 3, DecimalDigits 0, BufferLength 3,StrLen_or_IndPtr 0x0x9e909dc (*0x3)
    (Array size: 1)
    3 bytes of data at 0x0x9e8d5e4...
    0: 313336 [136]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 6, InputOutputType 1, ValueType 1, ParameterType 3,
    ColumnSize 1, DecimalDigits 0, BufferLength 1,StrLen_or_IndPtr 0x0x9e909e0 (*0x1)
    (Array size: 1)
    1 bytes of data at 0x0x9e8d594...
    0: 31 [1]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 7, InputOutputType 1, ValueType 1, ParameterType 12,
    ColumnSize 1, DecimalDigits 0, BufferLength 0,StrLen_or_IndPtr 0x0x9e909e4 (*0xffffffff)
    NULL Data Specified
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 8, InputOutputType 1, ValueType 1, ParameterType 12,
    ColumnSize 196, DecimalDigits 0, BufferLength 196,StrLen_or_IndPtr 0x0x9e909e8 (*0xc4)
    (Array size: 1)
    196 bytes of data at 0x0x9e8d4b8...
    00: 41207072 6F677261 6D61E7E3 6F206461 [A xxxxxxxx..o da]
    10: 20526564 6520416C 656C7569 6120E920 [ Rede Aleluia . ]
    20: 636F6D70 6F737461 20706F72 2063616E [xxxxxxxx por can]
    30: E7F56573 2073656C 6563696F 6E616461 [..es xxxxxxxxxxx]
    40: 73206520 666C6173 68626163 6B732071 [s e xxxxxxxxxx q]
    50: 7565206D 61726361 72616D20 E9706F63 [ue marcaram .poc]
    60: 612C2061 6CE96D20 6465206D 656C6F64 [a, al.m de melod]
    70: 69617320 696E7374 72756D65 6E746169 [ias xxxxxxxxxxxx]
    80: 732C2074 75646F20 656D2070 65726665 [s, tudo em perfe]
    90: 69746120 6861726D 6F6E6961 2C207072 [ita xxxxxxxx, pr]
    A0: 6F706F72 63696F6E 616E646F 20756D61 [xxxxxxxxxxxx uma]
    B0: 2072E164 696F2064 65207175 616C6964 [ r.dio de qualid]
    C0: 6164652E [ade.]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 9, InputOutputType 1, ValueType 1, ParameterType 12,
    ColumnSize 33, DecimalDigits 0, BufferLength 33,StrLen_or_IndPtr 0x0x9e909ec (*0x21)
    (Array size: 1)
    33 bytes of data at 0x0x9e8d488...
    00: 52E16469 6F20416C 656C7569 6120464D [R.xxx xxxxxxxxxx]
    10: 20285269 62656972 E36F2050 7265746F [ (xxxxxx.o xxxxx]
    20: 29 [)]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 10, InputOutputType 1, ValueType 1, ParameterType 3,
    ColumnSize 1, DecimalDigits 0, BufferLength 1,StrLen_or_IndPtr 0x0x9e909f0 (*0x1)
    (Array size: 1)
    1 bytes of data at 0x0x9e8d438...
    0: 31 [1]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 11, InputOutputType 1, ValueType 93, ParameterType 93,
    ColumnSize 19, DecimalDigits 0, BufferLength 16,StrLen_or_IndPtr 0x0x9e909f4 (*0x10)
    (Array size: 1)
    16 bytes of data at 0x0x9e74d30...
    00: DB070C00 12001400 17003700 00000000 [..........7.....]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Edited by: 902859 on 20-Dec-2011 05:00
    Edited by: 902859 on 20-Dec-2011 05:01

  • Access MySQL from Oracle Tnsping problem.

    Dears
    I am trying to connect to MysqlDB from Oracle.
    I have installed Oracle Gateway and ODBC diver on Linux server.
    Oracle gateway was installed on same server with Oracle Database but in different home and it has a different listener.
    please look at my configuration files which I have created and maintained to established connections to MySqlDB.
    I think I did some mistake and seize up in it so I could not find a solution. I am trying to fix it as well but if somebody can help me it will be very nice.
    Gateway version is 11.2.0.3.0 and it is on ORAHOME /oracle/11203/GTW and its listener port is 1522.
    I am able to tnsping port 1522 (dg4odbc) from gateways home. Gateway configuration files are below.
    ####/etc/odbc.ini####
    [ODBC Data Sources]
    MySQL = MySQL ODBC Driver 5.2
    [MySQL]
    Driver = /usr/lib64/libmyodbc5a.so
    DATABASE = veritabani
    DESCRIPTION = MySQL ODBC 5.2 Driver
    PORT = nnnn
    SERVER = x.x.x.x
    UID = kullanici
    PWD = sifre
    CHARSET = latin1
    TRACEFILE = /tmp/myodbc-demodsn.trc
    TRACE = OFF
    ####/oracle/11203/GTW/hs/admin/initdg4odbc.ora####
    HS_FDS_CONNECT_INFO = MySQL
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc5a.so
    set ODBCINI=/etc/odbc.ini
    set HOME=/home/oracle
    ####/oracle/11203/GTW/network/admin/listener.ora####
    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=1522))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=dg4odbc)
    (ORACLE_HOME=/oracle/11203/GTW)
    (PROGRAM=dg4odbc)
    (ENVS=LD_LIBRARY_PATH=/usr/lib64:/oracle/11203/GTW/lib)
    ####/oracle/11203/GTW/network/admin/tnsnames.ora####
    dg4odbc =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = hostname)
    (PORT = 1522)
    (CONNECT_DATA =
    (SID = dg4odbc)
    (HS = OK)
    Oracle Database version is 11.2.0.2.0 and Its on ORAHOME /oracle/11202/BDW and its listener port is 1521.
    I am not able to tnsping port 1522 (dg4odbc) from Database Home. Database configuration file is below.
    ####/oracle/11202/BDW/network/admin/tnsnames.ora####
    dg4odbc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1522)))
    (CONNECT_DATA = (SID = dg4odbc))
    (HS=OK))
    Also I have created a DBLINK and tried to get info from MySqlDB but it did not work as usual.
    CREATE PUBLIC DATABASE LINK dg4odbc CONNECT TO "kullanici" IDENTIFIED BY "sifre" USING ’dg4odbc’;
    SQL> select * from kullanici@dg4odbc;
    select * from kullanici@dg4odbc
    ERROR at line 1:
    ora-12154 tns could not resolve the connect identifier specified
    Thank you so much to everybody who reads and writes this...
    Best regards,
    Eren.
    Edited by: BeymenAdmin on Mar 21, 2013 8:52 AM

    BeymenAdmin wrote:
    Dears
    I am trying to connect to MysqlDB from Oracle.
    I have installed Oracle Gateway and ODBC diver on Linux server.
    Oracle gateway was installed on same server with Oracle Database but in different home and it has a different listener.
    please look at my configuration files which I have created and maintained to established connections to MySqlDB.
    I think I did some mistake and seize up in it so I could not find a solution. I am trying to fix it as well but if somebody can help me it will be very nice.
    Gateway version is 11.2.0.3.0 and it is on ORAHOME /oracle/11203/GTW and its listener port is 1522.
    I am able to tnsping port 1522 (dg4odbc) from gateways home. Gateway configuration files are below.
    ####/etc/odbc.ini####
    [ODBC Data Sources]
    MySQL = MySQL ODBC Driver 5.2
    [MySQL]
    Driver = /usr/lib64/libmyodbc5a.so
    DATABASE = veritabani
    DESCRIPTION = MySQL ODBC 5.2 Driver
    PORT = nnnn
    SERVER = x.x.x.x
    UID = kullanici
    PWD = sifre
    CHARSET = latin1
    TRACEFILE = /tmp/myodbc-demodsn.trc
    TRACE = OFF
    ####/oracle/11203/GTW/hs/admin/initdg4odbc.ora####
    HS_FDS_CONNECT_INFO = MySQL
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc5a.so
    set ODBCINI=/etc/odbc.ini
    set HOME=/home/oracle
    ####/oracle/11203/GTW/network/admin/listener.ora####
    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=1522))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=dg4odbc)
    (ORACLE_HOME=/oracle/11203/GTW)
    (PROGRAM=dg4odbc)
    (ENVS=LD_LIBRARY_PATH=/usr/lib64:/oracle/11203/GTW/lib)
    ####/oracle/11203/GTW/network/admin/tnsnames.ora####
    dg4odbc =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = hostname)
    (PORT = 1522)
    (CONNECT_DATA =
    (SID = dg4odbc)
    (HS = OK)
    Oracle Database version is 11.2.0.2.0 and Its on ORAHOME /oracle/11202/BDW and its listener port is 1521.
    I am not able to tnsping port 1522 (dg4odbc) from Database Home. Database configuration file is below.
    ####/oracle/11202/BDW/network/admin/tnsnames.ora####
    dg4odbc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1522)))
    (CONNECT_DATA = (SID = dg4odbc))
    (HS=OK))
    Also I have created a DBLINK and tried to get info from MySqlDB but it did not work as usual.
    CREATE PUBLIC DATABASE LINK dg4odbc CONNECT TO "kullanici" IDENTIFIED BY "sifre" USING ’dg4odbc’;
    SQL> select * from kullanici@dg4odbc;
    select * from kullanici@dg4odbc
    ERROR at line 1:
    ora-12154 tns could not resolve the connect identifier specified
    see: [url http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/] ora-12154 TNS:could not resolve the connect identifier specified
    Remember that the database from which you issued the "select * from kullanici@dg4odbc;" is, at that point, acting just like any other client trying to connect to a remote database.
    Thank you so much to everybody who reads and writes this...
    Best regards,
    Eren.
    Edited by: BeymenAdmin on Mar 21, 2013 8:52 AM

  • Connect MySQL in Oracle Stored Procedure

    Hi everybody,
    I used JDev to create some classes to extract data from Oracle to a flat file. After compiling the class, I loaded into Oracle and created a stored procedure. Everything OK here...
    Though, I also need to extract data to a flat file from MySQL. I installed the MySQL jdbc driver and added the library to my 'project properties' in JDev. The extraction is done without any problem. I loaded the class into Oracle, created a SP and tried to run the SP but it's not working. I already loaded the MySQL library in Oracle (loadjava ...) but the SP seems to be unable to find the library (com.mysql.jdbc.Driver)...
    Any help would be highly appriciated!
    Bye
    Bruno

    Hi Avi,
    thanks for your reply.
    I only receive my 'own' error message I included in my class (try ... catch). I don't know how to retrieve the 'stack trace' so I can't give it to you...
    I use Oracle 10g but should implement this also on a Oracle 9.
    The problem seems to be the MySQL JDBC driver. When I compile my classes (both the Oracle and MySQL export) in a command windows (I'm using Win 2000), providing the necessary 'classpaths', everything works fine. But when I start the stored procedure containing the class, the connection with the MySQL database can not be made (the Oracle connection again, is OK). I tried to drop the MySQL-jar and reloaded it but although the MySQL classes are 'visible' and valid, I can't get my class (stored procedure) use the com.mysql.jdbc.Driver...
    Bye and many thanks in advance!
    Bruno

  • How to access MYSQL from Oracle 10g and vice versa

    I will like to know how do I create a database link between Oracle 10g and MYSQL database on windows.  I have been saddled with responsibility of ensuring the communications between the 2 databases and I have searched everywhere on google, I could not find anywhere where this is explain explicitly and made work.
    THank you

    In general Oracle offers 2 different products to connect from an Oracle database to a MS SQL Server. The first product is for free and it is called
    As DG4ODBC is a generic connectivity based on ODBC it allows you to connect to many foreign databases as long as you have a suitable ODBC driver.It for example allows you to read from text files but also connect to foreign databases like MS SQL Server or IBM DB2. Due to this wide variety of foreign data sources tha capabilities of DG4ODBC are very limited. It only supports a few Oracle functions that it can directly map to foreign database equivalents. All other functions will be post processed. Post processing means that ALL records from the foreign table(s) will be fetched into the Oracle database and the result is then processed locally - so depending on the amount of data stored in the foreign database it might take a while.
    To be complete here some notes to follow up:
    This Oracle support note describes possible options you have to connect to a foreign database:
    Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
    So you see, to connect from Oracle to MySQL you need to use the Database gateway for ODBC release 11.2 (HSODBC which was shipped with 10g was desupported in march 2008).
    The Database Gateway for ODBC 11.2 (=DG4ODBC) license is included in the Oracle database license and it allows you to connect with a suitable 3rd party ODBC driver to a foreign database.
    For your MySQL connection you only need to download and configure the MySQL ODBC driver from the MySQL web site. Once you can connect with the ODBC driver you could then download and configure DG4ODBC.
    As you didn't post on which platform your Oracle database is installed, here 2 notes for common platforms:
    How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle (Doc ID 561033.1)
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems to Connect to Non-Oracle Databases Post Install (Doc ID 1266572.1)
    - Klaus

  • Connect Ingres from Oracle through tg4ingr

    Hi, when I perform a query to a table in Ingres from sqlplus I receive the next error:
    SQL> select * from paises@ingres;
    select * from paises@ingres
    ERROR at line 1:
    ORA-02068: following severe error from INGRES
    ORA-28511: lost RPC connection to heterogeneous remote agent using SID=%s
    ORA-28509: unable to establish a connection to non-Oracle system
    my tnsnames.ora:
    # TNSNAMES.ORA Network Configuration File: /software/oracle/product/9.2.0.1.0/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    INGRES.SIGMAAIE.ORG =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sunsig5)(PORT = 1521))
    (CONNECT_DATA =
    (SID = ingres)
    (HS = OK)
    my listener.ora:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sunsig5)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = ingres)
    (ORACLE_HOME = /software/oracle/product/9.2.0.1.0)
    (PROGRAM = tg4ingr)
    (ENVS = LD_LIBRARY_PATH = /dbms/Ingres26/ingres/lib:/software/oracle/product/9.2.0.1.0/lib)
    my initingres.ora ($ORACLE_HOME/tg4ingr/admin):
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Transparent Gateway for INGRES
    # HS init parameters
    HS_FDS_CONNECT_INFO=sigma::sigmatest
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_INGRES_MODE=INGR
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    # Environment variables required for the non-Oracle system
    set II_SYSTEM=/dbms/Ingres26
    I created the database link using:
    SQL> create public database link ingres connecto to "user1" identified by "passwd" using 'ingres';
    Any idea why Am I receiving this error?
    Thank you in advance.

    It could be that the SID and SID_NAME is wrong.
    Check SID=tg4ingr and SID_NAME=tg4ingr instead of SID=ingres

  • How to connect mysql and oracle 10g by UTL_HTTP?

    how to connect mysql 5.0 and oracle 10g r2 by UTL_HTTP?what to do for this url connection exactly?

    cant i change anything to stup a link?
    SQL> desc utl_http
    PROCEDURE ADD_COOKIES
    Argument Name               Type               In/Out Default?
    COOKIES               TABLE OF RECORD      IN
    FUNCTION BEGIN_REQUEST RETURNS RECORD
    Argument Name               Type               In/Out Default?
       URL                    VARCHAR2(32767)      OUT
       METHOD               VARCHAR2(64)          OUT
       HTTP_VERSION           VARCHAR2(64)          OUT
       PRIVATE_HNDL           BINARY_INTEGER          OUT
    URL                    VARCHAR2          IN
    METHOD                VARCHAR2          IN     DEFAULT
    HTTP_VERSION               VARCHAR2          IN     DEFAULT
    PROCEDURE CLEAR_COOKIES
    PROCEDURE CLOSE_PERSISTENT_CONN
    Argument Name               Type               In/Out Default?
    CONN                    RECORD               IN
       HOST                VARCHAR2(256)          IN
       PORT                BINARY_INTEGER          IN
       PROXY_HOST               VARCHAR2(256)          IN
       PROXY_PORT               BINARY_INTEGER          IN
       SSL                    BOOLEAN           IN
    PROCEDURE CLOSE_PERSISTENT_CONNS
    Argument Name               Type               In/Out Default?
    HOST                    VARCHAR2          IN     DEFAULT
    PORT                    BINARY_INTEGER          IN     DEFAULT
    PROXY_HOST               VARCHAR2          IN     DEFAULT
    PROXY_PORT               BINARY_INTEGER          IN     DEFAULT
    SSL                    BOOLEAN           IN     DEFAULT
    PROCEDURE END_REQUEST
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    PROCEDURE END_RESPONSE
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    PROCEDURE GET_AUTHENTICATION
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    SCHEME                VARCHAR2          OUT
    REALM                    VARCHAR2          OUT
    FOR_PROXY               BOOLEAN           IN     DEFAULT
    PROCEDURE GET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    CHARSET               VARCHAR2          OUT
    FUNCTION GET_BODY_CHARSET RETURNS VARCHAR2
    PROCEDURE GET_COOKIES
    Argument Name               Type               In/Out Default?
    COOKIES               TABLE OF RECORD      IN/OUT
    FUNCTION GET_COOKIE_COUNT RETURNS BINARY_INTEGER
    PROCEDURE GET_COOKIE_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    MAX_COOKIES               BINARY_INTEGER          OUT
    MAX_COOKIES_PER_SITE          BINARY_INTEGER          OUT
    PROCEDURE GET_DETAILED_EXCP_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    FUNCTION GET_DETAILED_SQLCODE RETURNS BINARY_INTEGER
    FUNCTION GET_DETAILED_SQLERRM RETURNS VARCHAR2
    PROCEDURE GET_FOLLOW_REDIRECT
    Argument Name               Type               In/Out Default?
    MAX_REDIRECTS               BINARY_INTEGER          OUT
    PROCEDURE GET_HEADER
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    N                    BINARY_INTEGER          IN
    NAME                    VARCHAR2          OUT
    VALUE                    VARCHAR2          OUT
    PROCEDURE GET_HEADER_BY_NAME
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    NAME                    VARCHAR2          IN
    VALUE                    VARCHAR2          OUT
    N                    BINARY_INTEGER          IN     DEFAULT
    FUNCTION GET_HEADER_COUNT RETURNS BINARY_INTEGER
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    PROCEDURE GET_PERSISTENT_CONNS
    Argument Name               Type               In/Out Default?
    CONNECTIONS               TABLE OF RECORD      IN/OUT
    FUNCTION GET_PERSISTENT_CONN_COUNT RETURNS BINARY_INTEGER
    PROCEDURE GET_PERSISTENT_CONN_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    MAX_CONNS               BINARY_INTEGER          OUT
    PROCEDURE GET_PROXY
    Argument Name               Type               In/Out Default?
    PROXY                    VARCHAR2          OUT
    NO_PROXY_DOMAINS          VARCHAR2          OUT
    FUNCTION GET_RESPONSE RETURNS RECORD
    Argument Name               Type               In/Out Default?
       STATUS_CODE               BINARY_INTEGER          OUT
       REASON_PHRASE          VARCHAR2(256)          OUT
       HTTP_VERSION           VARCHAR2(64)          OUT
       PRIVATE_HNDL           BINARY_INTEGER          OUT
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    RETURN_INFO_RESPONSE          BOOLEAN           IN     DEFAULT
    PROCEDURE GET_RESPONSE_ERROR_CHECK
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    PROCEDURE GET_TRANSFER_TIMEOUT
    Argument Name               Type               In/Out Default?
    TIMEOUT               BINARY_INTEGER          OUT
    PROCEDURE READ_LINE
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          OUT
    REMOVE_CRLF               BOOLEAN           IN     DEFAULT
    PROCEDURE READ_RAW
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    RAW               OUT
    LEN                    BINARY_INTEGER          IN     DEFAULT
    PROCEDURE READ_TEXT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          OUT
    LEN                    BINARY_INTEGER          IN     DEFAULT
    FUNCTION REQUEST RETURNS VARCHAR2
    Argument Name               Type               In/Out Default?
    URL                    VARCHAR2          IN
    PROXY                    VARCHAR2          IN     DEFAULT
    WALLET_PATH               VARCHAR2          IN     DEFAULT
    WALLET_PASSWORD          VARCHAR2          IN     DEFAULT
    FUNCTION REQUEST_PIECES RETURNS TABLE OF VARCHAR2(2000)
    Argument Name               Type               In/Out Default?
    URL                    VARCHAR2          IN
    MAX_PIECES               BINARY_INTEGER          IN     DEFAULT
    PROXY                    VARCHAR2          IN     DEFAULT
    WALLET_PATH               VARCHAR2          IN     DEFAULT
    WALLET_PASSWORD          VARCHAR2          IN     DEFAULT
    PROCEDURE SET_AUTHENTICATION
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    USERNAME               VARCHAR2          IN
    PASSWORD               VARCHAR2          IN     DEFAULT
    SCHEME                VARCHAR2          IN     DEFAULT
    FOR_PROXY               BOOLEAN           IN     DEFAULT
    PROCEDURE SET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    CHARSET               VARCHAR2          IN     DEFAULT
    PROCEDURE SET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    CHARSET               VARCHAR2          IN     DEFAULT
    PROCEDURE SET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    CHARSET               VARCHAR2          IN     DEFAULT
    PROCEDURE SET_COOKIE_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN
    MAX_COOKIES               BINARY_INTEGER          IN     DEFAULT
    MAX_COOKIES_PER_SITE          BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_COOKIE_SUPPORT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_DETAILED_EXCP_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_FOLLOW_REDIRECT
    Argument Name               Type               In/Out Default?
    MAX_REDIRECTS               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_FOLLOW_REDIRECT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    MAX_REDIRECTS               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_HEADER
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    NAME                    VARCHAR2          IN
    VALUE                    VARCHAR2          IN     DEFAULT
    PROCEDURE SET_PERSISTENT_CONN_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN
    MAX_CONNS               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_PERSISTENT_CONN_SUPPORT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_PROXY
    Argument Name               Type               In/Out Default?
    PROXY                    VARCHAR2          IN
    NO_PROXY_DOMAINS          VARCHAR2          IN     DEFAULT
    PROCEDURE SET_RESPONSE_ERROR_CHECK
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_TRANSFER_TIMEOUT
    Argument Name               Type               In/Out Default?
    TIMEOUT               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_TRANSFER_TIMEOUT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    TIMEOUT               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_WALLET
    Argument Name               Type               In/Out Default?
    PATH                    VARCHAR2          IN
    PASSWORD               VARCHAR2          IN     DEFAULT
    PROCEDURE WRITE_LINE
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          IN
    PROCEDURE WRITE_RAW
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    RAW               IN
    PROCEDURE WRITE_TEXT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          IN

  • Can't connect to MySQL from Oracle 11g R1

    Hello Oracle's guru.
    Sorry for my English it's not my native langauge
    Enviroments: Oracle 11g R1, Windows 7, ODBC Driver 5.1.8
    I have a some problem with creation gateway to connection to MySQL, and I hope somebody can help me.
    So,
    1) ODBC name - MYSQLDSN
    2) initMYSQLDSN.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = MYSQLDSN
    HS_FDS_TRACE_LEVEL = 0
    3) listener.ora
    # listener.ora Network Configuration File: E:\app\voxa\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=MYSQLDSN)
    (ORACLE_HOME=E:\app\voxa\product\11.1.0\db_1)
    (PROGRAM=dg4odbc)
    4) tnsnames.ora
    # tnsnames.ora Network Configuration File: E:\app\voxa\product\11.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    CXWH =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = CXWH)
    MYSQLDSN =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521))
    (CONNECT_DATA =(SID = MYSQLDSN))
    (HS = OK)
    Then I trying to connect to MySQL using sql*plus:
    C:\Windows\system32>sqlplus
    SQL*Plus: Release 11.1.0.6.0 - Production on Ср Июн 1 12:13:39 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    login: system
    pass:
    Connect to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> create public database link MYSQLDSN
    2 connect to DEMO identified by "DEMO" using 'MYSQLDSN';
    Channel was created
    SQL> select * from items@MYSQLDSN;
    select * from items@MYSQLDSN
    Error in line 1:
    ORA-28500: connection with ORACLE with other system return message:
    [MySQL][ODBC 5.1 Driver][mysqld-5.5.12]You have an error in your SQL syntax;
    check the manual that corresponds to your MySQL server version for the right
    syntax to use near
    '"ITEMS_KEY",A1."ITEM_NAME",A1."ITEM_CATEGORY",A1."ITEM_VENDOR",A1."ITEM_SKU",A1
    .' at line 1
    ORA-02063: предшествующий 2 lines из MYSQLDSN
    If I trying create new ODBC mobule via OWB, I had next error:
    [MySQL][ODBC 5.1 Driver][mysqld-5.5.12]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"DUAL"' at line 1
    ORA-02063: предшествующий 2 lines из OWB_56
    What I do wrong? Please help me

    Hi,
    You can download the 11.1.0.7 patchset from My Oracle Support -
    support.oracle.com
    as patch 6890831.
    Once logged in click on 'Patches and Updates' and enter the patch number as 6890831 and choose whichever platform you are running.
    the readme explains how to apply the patch to an existing 11.1.0.6 install.
    The url you posted is only for complete product installs, but 11.1.0.7 is only a patchset that must be applied to an existing install.
    Regards,
    Mike

  • Trying to connect MySQL and Oracle in RedHat

    Hi all,
    i´m tryng to create a dblink between Oracle 10.2.0 and MySQL,
    when when i try using sqlplus i obtain this error:
    SQL> SELECT "id" FROM issues@mysqldb;
    ORA-28500: la conexion de ORACLE a un sistema no Oracle ha devuelto este mensaje:
    [Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (2082): ; [MySQL][ODBC 5.1 Driver]Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (SQL State: 08S01; SQL Code: 2002)
    ORA-02063: 2 lines precediendo a MYSQLDB
    This is my configuration:
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/hs/admin/initmysqldb.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = hsqldb
    HS_FDS_TRACE_LEVEL = DEBUG
    HS_FDS_TRACE_FILE_NAME = mysqldb.trc
    HS_OPEN_CURSORS=300
    HS_AUTOREGISTER = TRUE
    HS_FDS_SHAREABLE_NAME=/usr/lib/libmyodbc5.so
    set ODBCINI=/usr/local/etc/odbc.ini
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    # listener.ora Network Configuration File:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = mysqldb)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = descordel01)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/tnsnames.ora
    # tnsnames.ora Network Configuration File:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = descordel01)(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)
    mysqldb =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = descordel01)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = mysqldb)
    (HS = OK)
    )

    Hi,
    You don't say if your Redhat Linux is 32-bit or 64-bit because 10.2 HSODBC was never ported to Linux 64-bit.
    Also, 10.2 HSODBC is now desupported and has been replaced by the 11g Database Gateway for ODBC (Dg4ODBC) so you should install and use that so you are on a fully supported version. The following notes in My Oracle Support have further information -
    Note.466228.1 How to Setup DG4ODBC on Linux x86 32bit
    Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX)
    Note.1083703.1 Master Note for Oracle Gateway Products
    If you are Linux 32-bit and want to continue with the HSODBC setup then please review this note -
    Note.264567.1 How To Setup HSODBC on Linux
    and make sure you have the setup correct.
    For example, in the listener.ora entry you should have an entry for the ENV variable LD_LIBRARY_PATH to make sure the process spawned by the listener picks up the correct libraries -
    (ENVS=LD_LIBRARY_PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib:<path to odbc_driver_directory>/lib)
    such as -
    (SID_DESC =
    (SID_NAME = hsodbc)
    (ORACLE_HOME = /home/oracle/server/10.2.0/)
    (PROGRAM = hsodbc)
    (ENVS=LD_LIBRARY_PATH=/home/oracle/server/10.2.0/lib:/home/odbc/dd/lib)
    You need to stop and start the listener after making any changes.
    If you still have problems then send the -
    - odbc.ini
    - odbcinst.ini - if being used
    - full name and version of the ODBC driver being used
    - full version of MySQL being accessed
    - modified listener.ora
    Regards,
    Mike

  • Error while invoking a Web service deployed on OC4J from Oracle BPEL

    Hi,
    I had created a web service from a simple java class using JDeveloper and deployed that on OC4J which had emmited a wsdl for the web service. On the same AS my BPEL processing is deployed in which i had created a partner link by using 1st option (i.e Browse WSDL files from local file system) and invoking the published method of the java class.I am expecting that the method of the class which is deployed as web service will be executed and i will get the return of the method as the response of the invoke activity , but i am getting this error :
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>when invoking locally the endpoint 'http://localhost:8080/MyIM-JavaCustomerFactory-context-root/JavaCustFactory', ; nested exception is: ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "JavaCustFactory" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.</summary>
    </part>
    <part name="detail">
    <detail>ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "JavaCustFactory" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.</detail>
    </part>
    </remoteFault>
    It seems that the Invoke activity is not able to get the WebService and it is asking for some settings , if any clue regarding this pls reply.
    I can also give the wsdl also.
    mail me at [email protected]

    Hi,
    Thanx it is working now.
    BTW can you give me some urls with info of this kind of setting which i need to do for other kind of integarions in J2EE platform.Sorry if i am asking too much as i am a starter in this technology.

  • Connection error from Oracle 9i JDeveloper  to Oracle 9i

    Hi,
    I have the oracle 9i database installed on my local box.
    I have Oracle 9i JDeveloper installed 2. I am trying to configure a connection from JDeveloper to Oracle 9i.
    I get the following error message:
    Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
    DBError.java:187
    void oracle.jdbc.dbaccess.DBError.throwSqlException(int, java.lang.Object)
    DBError.java:229
    void oracle.jdbc.dbaccess.DBError.throwSqlException(java.io.IOException)
    DBError.java:342
    void oracle.jdbc.driver.OracleConnection.<init>(oracle.jdbc.dbaccess.DBAccess, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
    OracleConnection.java:415
    java.sql.Connection oracle.jdbc.driver.OracleDriver.getConnectionInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
    OracleDriver.java:485
    java.sql.Connection oracle.jdbc.driver.OracleDriver.connect(java.lang.String, java.util.Properties)
    OracleDriver.java:337
    java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
    DriverManager.java:517
    java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties)
    DriverManager.java:146
    java.sql.Connection oracle.jdeveloper.cm.JdbcConnectionWrapper.createConnectionImpl(java.lang.String, java.lang.String, java.util.Properties)
    JdbcConnectionWrapper.java:146
    void oracle.jdeveloper.cm.JdbcConnectionWrapper.createConnection(oracle.jdeveloper.cm.ConnectionDescriptor)
    JdbcConnectionWrapper.java:110
    java.sql.Connection oracle.jdeveloper.cm.JdbcConnectionWrapper.getJdbcConnection()
    JdbcConnectionWrapper.java:175
    java.lang.Object oracle.jdeveloper.cm.JdbcConnectionWrapper.getPresentation(java.lang.String)
    JdbcConnectionWrapper.java:162
    void oracle.jdevimpl.cm.dt.browser.jdbc.JdbcBrowser.openConnectionBrowser(oracle.jdeveloper.cm.dt.ConnectionBrowsable)
    JdbcBrowser.java:133
    java.lang.Object oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork()
    ConnectionNode.java:202
    void oracle.jdeveloper.cm.dt.ProgressRunnable.run()
    ProgressRunnable.java:193
    void oracle.ide.dialogs.ProgressBar.run()
    ProgressBar.java:527
    void java.lang.Thread.run()
    Thread.java:484
    My Classpath looks like this:C:\oracle\ora92\bin;C:\oracle\ora92\jdbc\lib;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;

    Either the SID you specified is wrong or the DB listener is not configured correctly
    See ORA-12505
    http://www.cryer.co.uk/brian/oracle/ORA12505.htm

  • Not able to connect MySql From sunOne IDE

    I selected Runtime pane in the SunoneIDE 5.0 and need to insert data to the database which is in MySql, I created database in MySql. when i select drivers->mySql and rightclick addString -> and i i gave database URL and when i say test connection. My database name is MyCity. Which contains single table named "cityName" to strore city names (primary key) .
    Its showing the error As " Internal test driver incomplete. The driver may not support the required database meta methods.Take a look at output window for details."
    In output window iam getting "No primary keys were found in the database -
    Noindexes and no procedures were found in the database, Check ur database..
    please send me if posible with any code sample settings in the IDE(sunOne) to write BMP, Database is in the Mysql...
    Urs....
    Narendra I kumar
    My id is [email protected]

    It might be helpful:
    http://swforum.sun.com/jive/thread.jspa?threadID=21499&messageID=48445

Maybe you are looking for