DG4ODBC - MySQL in 11.2.0 or 11g XE

Hi - I've been struggling on and off for weeks with this - so fed up with ODBC connectivity!!!
4 years ago I was finally able to get heterogeneous connectivity on 10g/Windows to SQL Server using HSOLEDB but that's apparently not an option anymore as HSODBC/HSOLEDB are no longer supported in lieu of the transparent gateways. I've been through all forums/metalink/MOS for weeks and can't for the life of me get DG40DBC to work with MySQL. Have tried on our core server: x86_64 RHEL 5/10.2.0.3 Enterprise with Gateways 11g, a dev server: x86_64 RHEL 5/11g/11g XE x86_64, and now a Windows Vista x86 virtual machine (11g XE) as a test. XE 11g with HSODBC and Dg4ODBC 11g XE includes the dg4odbc binaries and should work, so I wasn't about to do a full 11g Ent install to test this.
My ODBC system DSN source works using the correct version of MyODBC.
My lsnrctl status shows the proper "UNKNOWN" like it always does...
TNSPING DG4ODBC shows a "TNS-12538: TNS:no such protocol adapter", which is replaced with "no listener" if I adjust my tnsnames.ora, so tnsnames should not be a problem.
I've tried adding dg4odbc to each the standard listener and a new separate listener with no luck in either case.
I've tried every combination of capitalization/case sensitivity troubleshooting in initdg4odbc.ora/listener.ora/tnsnames.ora/db link creation.
All windows software firewalls/daykillers disabled.
There appear to be no trace logs no matter what log level I use in initdg4odbc.ora.
Selection from my db link always yields:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from DG4ODBC
I've poured over everything from official documentation/forums/Donny B and nothing has helped. My end result is I need some kind of generic connectivity to MySQL from the Linux x86_64 10.2.0.3 Enterprise server but I can't get this going in ANY environment. Soooo fed up with this but I know this must be a simple fluke that someone can see by looking over my shoulder.... please? A solution, a solution. My kingdom for a solution.
On my Windows 11g XE env->
listener.ora:
SID_LIST_LISTENER =
*(SID_LIST =*
*(SID_DESC =*
*(SID_NAME = PLSExtProc)*
*(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)*
*(PROGRAM = extproc)*
*(SID_DESC =*
*(SID_NAME = CLRExtProc)*
*(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)*
*(PROGRAM = extproc)*
*(SID_DESC =*
*(SID_NAME = DG4ODBC)*
*(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)*
*(PROGRAM = DG4ODBC)*
LISTENER =
*(DESCRIPTION_LIST =*
*(DESCRIPTION =*
*(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))*
*(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))*
DEFAULT_SERVICE_LISTENER = (XE)
tnsnames.ora:
DG4ODBC =
*(DESCRIPTION =*
*(ADDRESS_LIST =*
*(ADDRESS =*
*(PROTOCOL = TPC)*
*(HOST = localhost)*
*(PORT = 1521))*
*(CONNECT_DATA =*
*(SID = DG4ODBC))*
*(HS = OK)*
initDG4ODBC.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 = DG4ODBC
HS_FDS_TRACE_LEVEL = DEBUG
*#HS_AUTOREGISTER = TRUE*
*#HS_DB_NAME = DG4ODBC*
*# Environment variables required for the non-Oracle system*
*#set <envvar>=<value>*

Hi,
A couple of points.
1. If you are using Dg4ODBC 11g then you need to be at at least RDBMS 10.2.0.4. If you are using 10.2.0.3 then you need to apply patch 5965763 to your RDBMS. For Windows this is included in the later patchsets.
2. I got a copy of this update in a mail and it looks like you may have the incorrect format for your tnsnames.ora file. However, in the your post all the line spacings have been lost. So, can you make sure that the tnsnames.ora entry has at least 1 space before every line except for the first, for example -
DG4ODBC =
<space> (DESCRIPTION =
<space> (ADDRESS_LIST =
<space> (ADDRESS =
<space> (PROTOCOL = TPC)
<space> (HOST = localhost)
<space> (PORT = 1521))
<space> )
<space> (CONNECT_DATA =
<space> (SERVICE_NAME = DG4ODBC)
<space> )
<space> (HS = OK)
<space> )
and the same for the listener.ora - after the first line of each section make sure there is at least one space.
If you are not getting any dg4odbc trace files it indicates that the gateway executable is not being started with could be a listener problem. Is there anything in the listener log to indicate a problem starting the gateway executable ?
If you still have problems then could you load your configuration files again but make sure all the spaces at the beginning of each line are preserved and the full output shown in SQLPLUS for a failing select ?
Regards,
Mike

Similar Messages

  • Migrating mysql 5.0.45 to Oracle 11g

    I am usign SQL developer 1.5 on Ubuntu Hardy . I am able to capture and convert model , but when I try to generate oracle DDL ,, generate ORACLE SQL box only show 11 sequences .
    I have 94 tabkles , 154 indexes ...etc. I tried using Sun 1.5 and Sun 1.6 JVM. When I look at the sql file on my linux box , it only has statement to create user and 11 sequeces I am unable to figure out what is going on . Can some one please explain.
    This is how I installed SQL developer
    Down loaded sqldeveloper1.5 for Redhat
    Used alien to convert it to Debian
    dpkg -i the package
    Installed JVM through spt-get install jvm
    Anyhelp is appreciated
    Thanks
    Vipul

    Hello Sir,
    At the outset, I would like to convey my regards for extending your support to resolve the issue.
    My objective is to migrate MySQL 5 database entirely to Oracle 9.2.0.1.0 database.
    I have been using SQLDeveloper 1.2.2998. as migration tool. The Plugin is mysql-connector-java-5.0.6.jar. The steps which I followed for Migration are as follows.
    1. Create a New connection for source database for MySQL
    2. Create a New connection for target database for Oracle
    3. Create Repository for Target database.
    4. Associate Repository
    5. Quick Migrate
    I was able to migrate all the tables. But Views, Procedures, Functions and Triggers were not effected in the oracle database. While I found by selecting the procedures in the Converted Model that the syntax remained same as of MySQL. I raised the issue in Oracle Metalink. They have filed a Bug 6275523. But the issue is very sensitive to our business due to time frame as the alternative is only manual migration. Please do help me in this issue of migrating Stored procedures, Views, Functions and triggers into Oracle.

  • MYSQL to Oracle 11G R2

    Hello
    I am trying to import a MySQL dump file to a Oracle 11G R2 database. Has anyone done this before? I have sqldeveloper installed but, am not sure if I can use that tool to import a .sql MySQL file. Anyone know of a good reference guide..or even better has anyone done this before?
    Brian Sims

    I am still stuck, so I think I can use the offline method in SQL Developer but I am not sure how to create the migration repository? Any ideas. I check in the documentation link but it does not give a good explanation of what to do for offline migrations. Do you or anyone know of a document that goes into that more deeply?
    The guy that gave me this data dump was doing me a favor I would rather not ask him to export it a different way if I did not absolutely have to.
    Any help would be appreciated, Thanks
    Brian Sims

  • Oracle and MySql via ODBC - Field with special characters

    Hi,
    I recentely installed and configured DG4ODBC 11.2 in my environment, with Oracle 10g as Database. I have a working ODBC and I can successfully select from tables@mysql.
    I have a problem with some fields in the mysql table though: various fields are named "Attività", "Località" and so on. Please, note the "à" character.
    Now if I select @mysql from some table with normal field name everything works fine. But in some case I have this error:
    [MySQL][ODBC 5.1 Driver][mysqld-5.0.77]Unknown column 'A1.attivit??A commessa'
    in 'field list' {42S22,NativeErr = 1054}
    The field true name is "attività commessa" and if in a test database I rename the field changing that "à" with a normal "a" everything start working. But of course, that is a production database and I can't change the field name.
    Anyone faced that problem before?
    My init entry:
    HS_FDS_CONNECT_INFO = myodbc5
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc5.so
    HS_FDS_SQLLEN_INTERPRETATION=32
    HS_FDS_FETCH_ROWS=1
    HS_LANGUAGE=ITALIAN_ITALY.I8EBCDIC280
    set ODBCINI=/usr/local/etc/odbc.ini
    set SQL_MODE='ANSI_QUOTES'
    Note: I added HS_LANGUAGE and SQL_MODE but tried even without those entries and it's still not working.
    My odbc.ini:
    [myodbc5]
    Driver = /usr/lib64/libmyodbc5.so
    Description = MySQL Driver DSN
    SERVER = xxx.xxx.xxx.xxx
    PORT = 3306
    USER = user
    Password = pass
    Database = sm_test
    OPTION = 3
    SOCKET =
    CHARSET = latin1
    P.S.: Please don't kill me, I'm not the creator of the Mysql database with those field names!

    I've created your test table in my Oracle database using this extra character and I'm able to describe it properly.
    SQL> desc test;
    Name Null? Type
    ATTIVITÀ VARCHAR2(40)
    My character set being used is:
    SQL> select * from v$nls_parameters;
    NLS_CHARACTERSET
    WE8ISO8859P15
    NLS_NCHAR_CHARACTERSET
    AL16UTF16
    NLS_LENGTH_SEMANTICS
    BYTE
    So as long as it doesn't work for you in your native Oracle database I don't think it would work with DG4ODBC. So yes, it would be best to log a service request so that the Oracle database support can check out the NLS issue.
    Edited by: kgronau on Sep 28, 2011 9:21 AM
    To be complete here the describe of the MySQL table native and using DG4ODBC:
    mysql> create table TEST (attività Varchar(40));
    Query OK, 0 rows affected (0.00 sec)
    mysql> desc TEST;
    ---------------------------------------------------+
    | Field | Type | Null | Key | Default | Extra |
    ---------------------------------------------------+
    | attività | varchar(40) | YES | | NULL | |
    ---------------------------------------------------+
    1 row in set (0.00 sec)
    SQL*Plus: Release 11.2.0.2.0 Production on Wed Sep 28 09:20:17 2011
    SQL> desc "gateway"."TEST"@MYSQL_DG4ODBC_EMGTW_1122_DB;
    Name Null? Type
    attività VARCHAR2(80)
    So in general it should work.

  • How to reconfigure and restart GoldenGate Replication from MySQL to Oracle after a DDL operation on the source

    I succesfully configured and performed the goldengate replication from MySQL 5.1 to Oracle XE 11g using GG 11g as per
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/11g/GGS_Sect_Config_UX_MSQ_to_UX_ORA.pdf
    After replication was successully started working I added a new column to one of the test tables TCUSTMER
    ALTER TABLE TCUSTMER ADD COLUMN ADDRESS VARCHAR(64) DEFAULT NULL;
    And inserted another row in the same table.
    INSERT INTO TCUSTMER VALUES ('CLARK', 'CLARK BOATS', 'REDWOOD',  'CA', 'Test Addresss1');
    As soon as I did that the replication broke.
    2015-04-16 17:42:44  ERROR   OGG-00146  VAM function VAMRead returned unexpected result: error 600 - VAM Client Report <CAUSE OF FAILURE : Table Metadata Altered cause
    WHEN FAILED : While processing table map event in log processor
    Then I reverted the DDL change back to original
    ALTER TABLE TCUSTMER DROP COLUMN ADDRESS;
    and tried to run the replication again
    But it is not starting as before.
    What should I do to move forward with same setup.

    Hi ,
    Whenever you do a DDL change in the Source table, you have to make the same changes in the Target side also. Then recreate the Definition File, copy it to the Target side and Start the GoldenGate processes.
    1. Add the column in the Target side.
    2. Recreate the Definition File and copy it to the Target side.
    3. Recreate the Replicat process in the Target side and try to start it.
    Hope this works..!!!!!!!! Any other suggestions friends????????
    Regards,
    Veera

  • URGENT: OVD 11g SQL Adapter?

    Hi all,
    I have a requirement to have OVD 11g talk to MY SQL backend. Is there a connector/adapter available out of the box for OVD 11g? If so, can you please give the links to documentation? If it is not available, can someone throw light on building a custom connector/adapter for OVD11g? This is very urgent.
    Thanks,
    Mahendra.

    I think there is a template for MySQL 5.x adapter in OVD 11g. Not 100% sure though. Even if there is not, you can use the "custom" database adapter template, which will work. Here is the link which describes the adapters in OVD: http://www.art2dec.com/documentation/docs/fmw11g1114documentation/oid.1111/e10046/basic_adapters.htm#CHDFCEAE
    Read the section on "custom url" for database adapters and you would be good. You will have to place the required sql jar files in the OVD lib path as well.
    Hope this helps. Let us know.
    PS: Do not write "urgent" in public posts for people who are volunteering to help for free. :-)

  • Accessing Postgres from Oracle using DG4ODBC and psqlodbc very slow

    I have set up DG4ODBC on a Windows 2003 32-bit 11g Oracle database to access a Windows 2008 64-bit 9.1 Postgres database, using the psqlodbc driver (32-bit).
    I am able to issue queries, but they are very slow. The reason is that the where clause of the query is being removed somewhere along the line (I have seen the actual queries run by Postgres using pgAdmin server status screen), and all the rows in the table are retrieved from Postgres. Naturally with tables bigger than a few rows that means doing a full table scan in Postgres, as well as transferring lots of bytes through the network.
    For instance, if I query from Oracle like this: select * from "dps_user"@pg where "id" = '2423', the sql run at Postgres is this: select * from dps_user, which retrieves all rows on the table! When I get the query result in Oracle, I only get the row with id 2423, so I assume that Oracle gets the whole table, and does the filtering at its end.
    In a 32-bit Windows XP separate machine I have set up the same psqlodbc driver, and I have run the same query using Microsoft Query. In this case, the query run in Postgres contains the where clause, and therefore it is much faster because a unique index scan is performed in Postgres, and only one row is transferred back to Microsoft Query.
    Could you help me, please?
    Thanks a lot,
    Carlos

    Hi Mike,
    Thanks a lot for your help. The gateway version must be 11.2.0.3 since the Oracle database has patchset 11.2.0.3 applied.
    This is the ini file once I changed the trace level:
    HS_FDS_CONNECT_INFO = pg
    HS_FDS_TRACE_LEVEL = 255
    I tried this query:
    select *
    from dps_user
    where id = 'W106606';
    Where dps_user is a view on the Oracle database which translates to this:
    CREATE OR REPLACE FORCE VIEW dps_user (ID,
    login,
    first_name,
    last_name,
    lastactivity_date,
    registration_date,
    email,
    email_status,
    receive_email
    AS
    SELECT "id", "login", "first_name", "last_name", "lastactivity_date",
    "registration_date", "email", "email_status", "receive_email"
    FROM "dynamo_web"."dps_user"@pg.es.lladro.com;
    The generated trace file is:
    Oracle Corporation --- JUEVES MAY 09 2013 18:13:35.968
    Heterogeneous Agent Release
    11.2.0.3.0
    Oracle Corporation --- JUEVES MAY 09 2013 18:13:35.968
    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
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "UCS2"
    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 "PG"
    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:PG
    Exiting hgogprd, rc=0
    hostmstr: 2051219456:      HOA After hoagprd
    hostmstr: 2051219456:      HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=873
    HS_LANGUAGE not specified
    rc=1000 attempting to get LANG environment variable.
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2013/05/09-18:13:36
    Exiting hgolofn, rc=0 at 2013/05/09-18:13:36
    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 2013/05/09-18:13:36
    hostmstr: 2051219456:      HOA After hoainit
    hostmstr: 2051219456:      HOA Before hoalgon
    Entered hgolgon at 2013/05/09-18:13:36
    reco:0, name:dynamoselect, tflag:0
    Entered hgosuec at 2013/05/09-18:13:36
    Exiting hgosuec, rc=0 at 2013/05/09-18:13:36
    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 dynamoselect as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2013/05/09-18:13:36
    HS_FDS_CONNECT_INFO = "pg"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2013/05/09-18:13:36
    dsn:pg, name:dynamoselect
    optn:
    Entered hgocip at 2013/05/09-18:13:36
    dsn:pg
    Exiting hgocip, rc=0 at 2013/05/09-18:13:36
    ##>Connect Parameters (len=40)<##
    ## DSN=pg;
    #! UID=dynamoselect;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2013/05/09-18:13:36
    Entered hgolosf at 2013/05/09-18:13:36
    ODBC Function-Available-Array 0xFFFE 0x01FF 0xFF00 0xFA7F 0x03DF 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 0x3B5C
    Exiting hgolosf, rc=0 at 2013/05/09-18:13:36
    DriverName:PSQLODBC35W.DLL, DriverVer:09.01.0100
    DBMS Name:PostgreSQL, DBMS Version:9.1.7
    Exiting hgocont, rc=0 at 2013/05/09-18:13:36
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 0 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2013/05/09-18:13:36
    hostmstr: 2049228800:      HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr: 2049228800: RPC Before Upload Caps
    hostmstr: 2049228800:      HOA Before hoaulcp
    Entered hgoulcp at 2013/05/09-18:13:36
    Entered hgowlst at 2013/05/09-18:13:36
    Exiting hgowlst, rc=0 at 2013/05/09-18:13:36
    SQLGetInfo returns 0x1d for SQL_OWNER_USAGE
    TXN Capable:2, Isolation Option:0xa
    SQLGetInfo returns 64 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 64 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 0 for SQL_MAX_PROCEDURE_NAME_LEN
    HOSGIP returned value of "TRUE" for HS_FDS_QUOTE_IDENTIFIER
    SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
    2 instance capabilities will be uploaded
    capno:1989, context:0x00000000, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 0
    Exiting hgoulcp, rc=0 at 2013/05/09-18:13:36
    hostmstr: 2049228800:      HOA After hoaulcp
    hostmstr: 2049228800: RPC After Upload Caps
    hostmstr: 2049228800: RPC Before Upload DDTR
    hostmstr: 2049228800:      HOA Before hoauldt
    Entered hgouldt at 2013/05/09-18:13:36
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2013/05/09-18:13:36
    hostmstr: 2049228800:      HOA After hoauldt
    hostmstr: 2049228800: RPC After Upload DDTR
    hostmstr: 2049228800: RPC Before Begin Trans
    hostmstr: 2049228800:      HOA Before hoabegn
    Entered hgobegn at 2013/05/09-18:13:36
    tflag:0 , initial:1
    hoi:0x12f090, ttid (len 39) is ...
    00: 44455341 322E4553 2E4C4C41 44524F2E [DESA2.ES.LLADRO.]
    10: 434F4D2E 65336530 30323865 2E31312E [COM.e3e0028e.11.]
    20: 332E3133 303836 [3.13086]
    tbid (len 36) is ...
    00: 44455341 322E4553 2E4C4C41 44524F2E [DESA2.ES.LLADRO.]
    10: 434F4D5B 31312E33 2E313330 38365D5B [COM[11.3.13086][]
    20: 312E345D [1.4]]
    Exiting hgobegn, rc=0 at 2013/05/09-18:13:36
    hostmstr: 2049228800:      HOA After hoabegn
    hostmstr: 2049228800: RPC After Begin Trans
    hostmstr: 2049228800: RPC Before Describe Table
    hostmstr: 2049228800:      HOA Before hoadtab
    Entered hgodtab at 2013/05/09-18:13:36
    count:1
    table: dynamo_web.dps_user
    Allocate hoada[0] @ 033A88D4
    Entered hgopcda at 2013/05/09-18:13:36
    Column:1(id): dtype:-9 (WVARCHAR), prc/scl:40/0, nullbl:0, octet:80, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:2(login): dtype:-9 (WVARCHAR), prc/scl:100/0, nullbl:0, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:3(auto_login): dtype:12 (VARCHAR), prc/scl:5/0, nullbl:1, octet:-1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:4(password): dtype:-9 (WVARCHAR), prc/scl:35/0, nullbl:1, octet:70, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:5(member): dtype:12 (VARCHAR), prc/scl:5/0, nullbl:1, octet:-1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:6(first_name): dtype:-9 (WVARCHAR), prc/scl:60/0, nullbl:1, octet:120, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:7(middle_name): dtype:-9 (WVARCHAR), prc/scl:40/0, nullbl:1, octet:80, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:8(last_name): dtype:-9 (WVARCHAR), prc/scl:60/0, nullbl:1, octet:120, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:9(user_type): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:10(locale): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:11(lastactivity_date): dtype:93 (TIMESTAMP), prc/scl:26/6, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:12(registration_date): dtype:93 (TIMESTAMP), prc/scl:26/6, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:13(email): dtype:-9 (WVARCHAR), prc/scl:100/6, nullbl:1, octet:200, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:14(email_status): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:15(receive_email): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:16(gender): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:17(date_of_birth): dtype:93 (TIMESTAMP), prc/scl:26/6, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:18(securitystatus): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    The hoada for table dynamo_web.dps_user follows...
    hgodtab, line 1092: Printing hoada @ 033A88D4
    MAX:18, ACTUAL:18, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR,0x400:UNICODE_COLUMN,0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    12 VARCHAR N 80 80 128/ 40 1000 0 440 id
    12 VARCHAR N 200 200 128/100 1000 0 440 login
    -1 LONGVARCHAR Y 0 0 0/ 0 0 0 220 auto_login
    12 VARCHAR Y 70 70 128/ 35 1000 0 440 password
    -1 LONGVARCHAR Y 0 0 0/ 0 0 0 220 member
    12 VARCHAR Y 120 120 128/ 60 1000 0 440 first_name
    12 VARCHAR Y 80 80 128/ 40 1000 0 440 middle_name
    12 VARCHAR Y 120 120 128/ 60 1000 0 440 last_name
    -5 BIGINT Y 8 8 0/ 0 0 0 20 user_type
    -5 BIGINT Y 8 8 0/ 0 0 0 20 locale
    91 DATE Y 16 16 0/ 0 0 0 0 lastactivity_date
    91 DATE Y 16 16 0/ 0 0 0 0 registration_date
    12 VARCHAR Y 200 200 128/100 1000 0 440 email
    -5 BIGINT Y 8 8 0/ 0 0 0 20 email_status
    -5 BIGINT Y 8 8 0/ 0 0 0 20 receive_email
    -5 BIGINT Y 8 8 0/ 0 0 0 20 gender
    91 DATE Y 16 16 0/ 0 0 0 0 date_of_birth
    -5 BIGINT Y 8 8 0/ 0 0 0 20 securitystatus
    Exiting hgodtab, rc=0 at 2013/05/09-18:13:36
    hostmstr: 2048180224:      HOA After hoadtab
    hostmstr: 2048180224:      HOA Before hoadafr
    Entered hgodafr, cursor id 0 at 2013/05/09-18:13:36
    Free hoada @ 033A88D4
    Exiting hgodafr, rc=0 at 2013/05/09-18:13:36
    hostmstr: 2048180224:      HOA After hoadafr
    hostmstr: 2048180224: RPC After Describe Table
    hostmstr: 2048180224: RPC Before SQL Bundling
    hostmstr: 2048180224:      HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2013/05/09-18:13:36
    type:0
    SQL text from hgopars, id=1, len=152 ...
    00: 53454C45 43542022 6964222C 226C6F67 [SELECT "id","log]
    10: 696E222C 22666972 73745F6E 616D6522 [in","first_name"]
    20: 2C226C61 73745F6E 616D6522 2C226C61 [,"last_name","la]
    30: 73746163 74697669 74795F64 61746522 [stactivity_date"]
    40: 2C227265 67697374 72617469 6F6E5F64 [,"registration_d]
    50: 61746522 2C22656D 61696C22 2C22656D [ate","email","em]
    60: 61696C5F 73746174 7573222C 22726563 [ail_status","rec]
    70: 65697665 5F656D61 696C2220 46524F4D [eive_email" FROM]
    80: 20226479 6E616D6F 5F776562 222E2264 [ "dynamo_web"."d]
    90: 70735F75 73657222 [ps_user"]
    Exiting hgopars, rc=0 at 2013/05/09-18:13:56
    hostmstr: 2001973248:      HOA After hoxpars
    hostmstr: 2001973248:      HOA Before hoxopen
    Entered hgoopen, cursor id 1 at 2013/05/09-18:13:56
    hgoopen, line 87: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2013/05/09-18:13:56
    hostmstr: 2001973248:      HOA After hoxopen
    hostmstr: 2001973248:      HOA Before hoxdscr
    Entered hgodscr, cursor id 1 at 2013/05/09-18:13:56
    Allocate hoada @ 033A88BC
    Entered hgodscr_process_sellist_description at 2013/05/09-18:13:56
    Entered hgopcda at 2013/05/09-18:13:56
    Column:1(id): dtype:-9 (WVARCHAR), prc/scl:40/0, nullbl:0, octet:80, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:56
    Entered hgopcda at 2013/05/09-18:13:56
    Column:2(login): dtype:-9 (WVARCHAR), prc/scl:100/0, nullbl:0, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:56
    Entered hgopcda at 2013/05/09-18:13:57
    Column:3(first_name): dtype:-9 (WVARCHAR), prc/scl:60/0, nullbl:1, octet:120, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
    Entered hgopcda at 2013/05/09-18:13:57
    Column:4(last_name): dtype:-9 (WVARCHAR), prc/scl:60/0, nullbl:1, octet:120, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
    Entered hgopcda at 2013/05/09-18:13:57
    Column:5(lastactivity_date): dtype:93 (TIMESTAMP), prc/scl:26/6, nullbl:1, octet:120, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
    Entered hgopcda at 2013/05/09-18:13:57
    Column:6(registration_date): dtype:93 (TIMESTAMP), prc/scl:26/6, nullbl:1, octet:120, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
    Entered hgopcda at 2013/05/09-18:13:57
    Column:7(email): dtype:-9 (WVARCHAR), prc/scl:100/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
    Entered hgopcda at 2013/05/09-18:13:57
    Column:8(email_status): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
    Entered hgopcda at 2013/05/09-18:13:57
    Column:9(receive_email): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
    hgodscr, line 464: Printing hoada @ 033A88BC
    MAX:9, ACTUAL:9, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR,0x400:UNICODE_COLUMN,0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    12 VARCHAR N 80 80 128/ 40 1000 0 440 id
    12 VARCHAR N 200 200 128/100 1000 0 440 login
    12 VARCHAR Y 120 120 128/ 60 1000 0 440 first_name
    12 VARCHAR Y 120 120 128/ 60 1000 0 440 last_name
    91 DATE Y 16 16 0/ 0 0 0 0 lastactivity_date
    91 DATE Y 16 16 0/ 0 0 0 0 registration_date
    12 VARCHAR Y 200 200 128/100 1000 0 440 email
    -5 BIGINT Y 8 8 0/ 0 0 0 20 email_status
    -5 BIGINT Y 8 8 0/ 0 0 0 20 receive_email
    Exiting hgodscr, rc=0 at 2013/05/09-18:13:57
    hostmstr: 2001973248:      HOA After hoxdscr
    hostmstr: 2001973248: RPC After SQL Bundling
    hostmstr: 2001973248: RPC Before Fetch Row
    hostmstr: 2001973248:      HOA Before hoaftch
    Entered hgoftch, cursor id 1 at 2013/05/09-18:13:57
    hgoftch, line 133: Printing hoada @ 033A88BC
    MAX:9, ACTUAL:9, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR,0x400:UNICODE_COLUMN,0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    12 VARCHAR N 80 80 128/ 40 1000 0 440 id
    12 VARCHAR N 200 200 128/100 1000 0 440 login
    12 VARCHAR Y 120 120 128/ 60 1000 0 440 first_name
    12 VARCHAR Y 120 120 128/ 60 1000 0 440 last_name
    91 DATE Y 16 16 0/ 0 0 0 0 lastactivity_date
    91 DATE Y 16 16 0/ 0 0 0 0 registration_date
    12 VARCHAR Y 200 200 128/100 1000 0 440 email
    -5 BIGINT Y 8 8 0/ 0 0 0 20 email_status
    -5 BIGINT Y 8 8 0/ 0 0 0 20 receive_email
    Performing delayed open.
    SQLBindCol: column 1, cdatatype: -8, bflsz: 82
    SQLBindCol: column 2, cdatatype: -8, bflsz: 202
    SQLBindCol: column 3, cdatatype: -8, bflsz: 122
    SQLBindCol: column 4, cdatatype: -8, bflsz: 122
    SQLBindCol: column 5, cdatatype: 93, bflsz: 16
    SQLBindCol: column 6, cdatatype: 93, bflsz: 16
    SQLBindCol: column 7, cdatatype: -8, bflsz: 202
    SQLBindCol: column 8, cdatatype: -25, bflsz: 8
    SQLBindCol: column 9, cdatatype: -25, bflsz: 8
    SQLFetch: row: 1, column 1, bflsz: 82, bflar: 14
    SQLFetch: row: 1, column 1, bflsz: 82, bflar: 14, (bfl: 80, mbl: 80)
    SQLFetch: row: 1, column 2, bflsz: 202, bflar: 54
    SQLFetch: row: 1, column 2, bflsz: 202, bflar: 54, (bfl: 200, mbl: 200)
    SQLFetch: row: 1, column 3, bflsz: 122, bflar: 10
    SQLFetch: row: 1, column 3, bflsz: 122, bflar: 10, (bfl: 120, mbl: 120)
    SQLFetch: row: 1, column 4, bflsz: 122, bflar: 8
    SQLFetch: row: 1, column 4, bflsz: 122, bflar: 8, (bfl: 120, mbl: 120)
    SQLFetch: row: 1, column 5, bflsz: 16, bflar: -1
    SQLFetch: row: 1, column 5, bflsz: 16, bflar: SQL_NULL_DATA
    SQLFetch: row: 1, column 6, bflsz: 16, bflar: 16
    SQLFetch: row: 1, column 6, bflsz: 16, bflar: 16, (bfl: 16, mbl: 16)
    SQLFetch: row: 1, column 7, bflsz: 202, bflar: 44
    SQLFetch: row: 1, column 7, bflsz: 202, bflar: 44, (bfl: 200, mbl: 200)
    SQLFetch: row: 1, column 8, bflsz: 8, bflar: 8
    SQLFetch: row: 1, column 8, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
    SQLFetch: row: 1, column 9, bflsz: 8, bflar: 8
    SQLFetch: row: 1, column 9, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
    SQLFetch: row: 2, column 1, bflsz: 82, bflar: 14
    SQLFetch: row: 2, column 1, bflsz: 82, bflar: 14, (bfl: 0, mbl: 80)
    (I have clipped it because it is huge, since all rows from the table are brought into Oracle. In fact, the query did not finish yet because the process dg4odbc.exe is busy writing the trace file, I may have to kill it ).
    Thanks a lot,
    Carlos

  • Using SQLDriverConnect with special characters in password fails, same info with ODBC (Oracle instant client) works fine

    Hi,
    on a windows 2008 machine that has the Oracle instant client 11_1 installed (11.01.00.06) i am calling SQLDriverConnect in the following way:
    std::string str = "Driver={Oracle in instantclient11_1};Dbq=//10.10.101.66:1521/orcl;;Uid=myUser;pwd=a;b";
    odbcRc = SQLDriverConnect(hdbc, NULL, (SQLTCHAR*)str.c_str(), str.size(), (SQLTCHAR*)szConnStrOut, 1024, &cbConnStrOut, SQL_DRIVER_NOPROMPT)) == SQL_ERROR);
    as long as the password contains no special chars (namely semicolon) it works fine. but when I try to use special chars in the password It stops working, with an invalid username/password error.
    State: 28000 Native error: 1017 Message: [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied
    i tried different variations of adding " (\") over the password, over the entire pwd=a;b or braces { but nothing seems to work.
    the thing is that using ODBC works! what I did was:
    open ODBC, go to System DSN tab, add "Oracle in instantclient11_1", then fill the following information:
    Data source name: Anything
    TNS Service Name: //10.10.101.66:1521/orcl
    User ID: myUser
    then i press test connection, enter the password "a;b"
    and it works!
    I cannot figure out what's my problem.
    Thanks,
    Roy.

    I've created your test table in my Oracle database using this extra character and I'm able to describe it properly.
    SQL> desc test;
    Name Null? Type
    ATTIVITÀ VARCHAR2(40)
    My character set being used is:
    SQL> select * from v$nls_parameters;
    NLS_CHARACTERSET
    WE8ISO8859P15
    NLS_NCHAR_CHARACTERSET
    AL16UTF16
    NLS_LENGTH_SEMANTICS
    BYTE
    So as long as it doesn't work for you in your native Oracle database I don't think it would work with DG4ODBC. So yes, it would be best to log a service request so that the Oracle database support can check out the NLS issue.
    Edited by: kgronau on Sep 28, 2011 9:21 AM
    To be complete here the describe of the MySQL table native and using DG4ODBC:
    mysql> create table TEST (attività Varchar(40));
    Query OK, 0 rows affected (0.00 sec)
    mysql> desc TEST;
    ---------------------------------------------------+
    | Field | Type | Null | Key | Default | Extra |
    ---------------------------------------------------+
    | attività | varchar(40) | YES | | NULL | |
    ---------------------------------------------------+
    1 row in set (0.00 sec)
    SQL*Plus: Release 11.2.0.2.0 Production on Wed Sep 28 09:20:17 2011
    SQL> desc "gateway"."TEST"@MYSQL_DG4ODBC_EMGTW_1122_DB;
    Name Null? Type
    attività VARCHAR2(80)
    So in general it should work.

  • ERROR OGG-01148 programming error, data type not supported for column

    I am getting following error when I put null in insert statement
    2011-03-31 18:30:45 ERROR OGG-01148 programming error, data type not supported for column TXID in table advoss.tblaudittrail.
    I am replicating MySQL 5.5.9 to Oracle 11g rel2 via goldengate 11

    I am able to diagnose what is cuasing the problem
    unsigned flag was the culprit of this error
    I am able to insert null after removing unsigned flag.
    thank you very much for your kind support

  • DBDriver failed to load dbd_oci.dll while creating universe

    Hello All,
           I am trying  to create a universe with Oracle as source. When I logged into Universe Designer and proceed to created a universe by selecting oracle 11 as data source, the designer throws an error:
    " (CS) "DBDriver failed to load : C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\dataAccess\connectionServer\dbd_oci.dll (%1 is not a valid Win32 application.)" .
    Below are the environment details:
    OS : windows 2008 server 64 bit
    BO Server : BOE 3.1 sp3 32 bit
    CMS : MySQL 5.1
    Oracle Client:  Oracle 11g 64 bit client is installed.
    I have set the path and environment variables relating to oracle as well.
    If I create a DSN and test connection it works fine. Please let me know your suggestions and inputs to resolve this error.
    Thanks
    Mahesh

    As BOCP-BOE, said, BOE XI 3.1 is a 32-bit application and is designed to 32-bit middleware connectivity. This is mentioned in the SAP BusinessObjects Enterprise XI 3.1 SP3 for Windows u2013 Supported Platforms document.
    The document is available at http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000726132&_SCENARIO=01100035870000000202&_OBJECT=011000358700000555642010E
    (You will need an SMP login)

  • Database link from Oracle 11g (64 bit) to MySQL over UnixODBC with dg4odbc

    Hello,
    I want to connect to a MySQL Database from Oracle over a database link, but i get always the Error Message ORA-28528: Heterogeneous Services datatype conversion error .
    In the forum or internet I can't find a solution for my problem, so I try now to post this problem.
    Here a detailed description of the problem:
    I use a Oracle 11.1.0.7.0 64bit database which is running on a redhat linux 5.3 64bit.
    I want to connect to a MySql Database 5.0, which is running on a redhat linux 5.2 32bit over unixODBC.
    The configuration from the ODBC seems to be good, because with isql on the ora server I can connect and query all data correct from the MySQL database.
    Also the tsnnames.ora and listener.ora should be configured correctly. The tnsping works also fine.
    But when i try to catch the data over SQLPlus with the database link I always get the error ORA-28528.
    If I try to select just one column it works, but the returned data are incomplete or truncated.
    the version of my libs:
    between mysql and odbc I use libmyodbc3.so version 3.51.12-2.2 (I also tried the version 5, but with them I get a segmentation fault error on isql).
    between odbc and dg4odbc I use libodbc.so version 2.2.11-7.1
    Has anybody a solution or hint for me?
    Many Thanks in advance,
    best regards from Austria
    Manuel
    Edited by: user11243186 on 09.06.2009 02:59

    kdgmanu wrote:
    Hello,
    I always get the error ORA-28528.
    If I try to select just one column it works, but the returned data are incomplete or truncated.
    maybe you are facing bug 6772397, so do a search on metalink for bug 6772397
    >
    Has anybody a solution or hint for me?you could also see the following notes 554409.1 and 603801.1
    Many Thanks in advance,
    best regards from Austriacheers from Zagreb

  • Dg4odbc to MySQL update errors: "does not support IS NULL in this context"

    I am having a problem with 'where x is null' clauses in update statements to MySQL from 11g, using dg4odbc. Updates using the clause 'where x is null' return errors like this:
    ORA-02070: database PLAZAHOST does not support IS NULL in this context
    The rejected queries never get to mysql. Furthermore, I noticed that select statements with 'where x is null' show up in the mysql query log with the where clause stripped out, although correct results are returned to SQLPlus. It looks as though 'where x is null' is stripped off by dg4odbc, which subsequently applies a secondary filter to the results received from MySQL.
    Note, both statements above work properly when issued from the MySQL client.
    Has anybody seen this? It's a big problem for me, but I can't find any references to other people having the same problem, so I assume I've got something misconfigured -- but I don't know what.
    I'm using MySQL ODBC 5.1 Driver, MySQL 5.1 Community Edition, and Oracle 11g R1 all running on a 32-bit Windows server.
    Thank you -- rick
    =============
    here's a spool of a sample oracle session:
    SQL> col descr1 for a40
    SQL> select * from t1@plazahost;
    id1 descr1
    1 hello
    2
    SQL> descr t1@plazahost
    Name Null? Type
    id1 NUMBER(10)
    descr1 VARCHAR2(255)
    SQL> select * from t1@plazahost where "descr1" is null;
    id1 descr1
    2
    SQL> update t1@plazahost set "descr1"='updated' where "descr1" is null;
    update t1@plazahost set "descr1"='updated' where "descr1" is null
    ERROR at line 1:
    ORA-02070: database PLAZAHOST does not support IS NULL in this context
    SQL> spool off
    =============
    here's the mysql query log snip for the oracle session:
    100804 10:24:20 1637 Connect     moms_oracle@MOMS_HOST on moms
              1637 Query     SET NAMES utf8
              1637 Query     SET character_set_results = NULL
              1637 Query     SET SQL_AUTO_IS_NULL = 0
              1637 Query     set autocommit=0
              1637 Query     select database()
              1637 Query     COMMIT
              1637 Query     SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED
              1637 Query     SHOW TABLE STATUS FROM `moms` LIKE 'T1'
              1637 Query     SHOW COLUMNS FROM `moms`.`t1`
              1637 Query     SELECT `id1`,`descr1` FROM `moms`.`t1` LIMIT 0
              1637 Query     SHOW KEYS FROM `moms`.`T1`
              1637 Query     SHOW TABLE STATUS FROM `moms` LIKE 'T1'
              1637 Query     SHOW COLUMNS FROM `moms`.`t1`
              1637 Query     SELECT `id1`,`descr1` FROM `moms`.`t1` LIMIT 0
              1637 Query     SELECT A1.`id1`,A1.`descr1` FROM `T1` A1
              1637 Query     SELECT `id1`,`descr1` FROM `T1`
    100804 10:24:28 1637 Query     COMMIT
              1637 Quit     
    =============
    here's the Oracle HS trace file for the same oracle session:
    Oracle Corporation --- WEDNESDAY AUG 04 2010 10:24:19.608
    Heterogeneous Agent Release
    11.1.0.7.0
    Oracle Corporation --- WEDNESDAY AUG 04 2010 10:24:19.608
    Version 11.1.0.7.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    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_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "UCS2"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    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_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS 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 "TRUE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "plazahost"
    Product-Info:
    Port Rls/Upd:7/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:plazahost
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=178
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2010/08/04-10:24:19
    Exiting hgolofn, rc=0 at 2010/08/04-10:24:20
    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 ".,"
    Exiting hgoinit, rc=0 at 2010/08/04-10:24:20
    Entered hgolgon at 2010/08/04-10:24:20
    reco:0, name:moms_oracle, tflag:0
    Entered hgosuec at 2010/08/04-10:24:20
    Exiting hgosuec, rc=0 at 2010/08/04-10:24:20
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using moms_oracle as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2010/08/04-10:24:20
    HS_FDS_CONNECT_INFO = "momsPlazaHost"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2010/08/04-10:24:20
    dsn:momsPlazaHost, name:moms_oracle
    optn:
    ##>Connect Parameters (len=43)<##
    ## DSN=momsPlazaHost;
    #! UID=moms_oracle;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2010/08/04-10:24:20
    DriverName:myodbc5.dll, DriverVer:05.01.0005
    DBMS Name:MySQL, DBMS Version:5.1.35-community-log
    Exiting hgocont, rc=0 at 2010/08/04-10:24:20
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 64 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2010/08/04-10:24:20
    Entered hgoulcp at 2010/08/04-10:24:20
    Entered hgowlst at 2010/08/04-10:24:20
    Exiting hgowlst, rc=0 at 2010/08/04-10:24:20
    SQLGetInfo returns ` for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    2 instance capabilities will be uploaded
    capno:1991, context:0x0001ffff, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
    Exiting hgoulcp, rc=0 at 2010/08/04-10:24:20
    Entered hgouldt at 2010/08/04-10:24:20
    0 instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2010/08/04-10:24:20
    Entered hgobegn at 2010/08/04-10:24:20
    tflag:0 , initial:1
    hoi:0x12f03c, ttid (len 26) is ...
    00: 4D4F4D53 44422E38 62393537 3032392E [MOMSDB.8b957029.]
    10: 322E3130 2E333131 3531 [2.10.31151]
    tbid (len 23) is ...
    00: 4D4F4D53 44425B32 2E31302E 33313135 [MOMSDB[2.10.3115]
    10: 315D5B31 2E345D [1][1.4]]
    TXN Capable:3, Isolation Option:0xf
    Exiting hgobegn, rc=0 at 2010/08/04-10:24:20
    Entered hgodtab at 2010/08/04-10:24:20
    count:1
    table: T1
    Entered hgopcda at 2010/08/04-10:24:20
    Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    Entered hgopcda at 2010/08/04-10:24:20
    Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:255, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    The hoada for table T1 follows...
    hgodtab, line 651: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:1, WHT=6 (TABLE_DESCRIBE)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 255 255 0/ 0 0 0 0 descr1
    Exiting hgodtab, rc=0 at 2010/08/04-10:24:20
    Entered hgodafr, cursor id 0 at 2010/08/04-10:24:20
    Exiting hgodafr, rc=0 at 2010/08/04-10:24:20
    Entered hgotcis at 2010/08/04-10:24:20
    Calling SQLStatistics for T1
    Calling SQLColumns for moms_oracle.T1
    Column "id1": dtype=4, colsize=10, decdig=0, char_octet_length=0, cumulative avg row len=4
    Column "descr1": dtype=12, colsize=255, decdig=0, char_octet_length=255, cumulative avg row len=195
    Exiting hgotcis, rc=0 at 2010/08/04-10:24:20
    Entered hgopars, cursor id 1 at 2010/08/04-10:24:20
    type:0
    SQL text from hgopars, id=1, len=40 ...
    00: 53454C45 43542041 312E6069 6431602C [SELECT A1.`id1`,]
    10: 41312E60 64657363 72316020 46524F4D [A1.`descr1` FROM]
    20: 20605431 60204131 [ `T1` A1]
    Exiting hgopars, rc=0 at 2010/08/04-10:24:20
    Entered hgoopen, cursor id 1 at 2010/08/04-10:24:20
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2010/08/04-10:24:20
    Entered hgodscr, cursor id 1 at 2010/08/04-10:24:20
    Entered hgopcda at 2010/08/04-10:24:20
    Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    Entered hgopcda at 2010/08/04-10:24:20
    Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:256, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    hgodscr, line 506: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    Exiting hgodscr, rc=0 at 2010/08/04-10:24:21
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:21
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    SQLBindCol: column 1, cdatatype: -16, bflsz: 4
    SQLBindCol: column 2, cdatatype: 1, bflsz: 257
    2 rows fetched
    Exiting hgoftch, rc=0 at 2010/08/04-10:24:21
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:21
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:2, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 5 256 0/ 0 0 0 0 descr1
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2010/08/04-10:24:21
    Entered hgoclse, cursor id 1 at 2010/08/04-10:24:23
    Exiting hgoclse, rc=0 at 2010/08/04-10:24:23
    Entered hgodafr, cursor id 1 at 2010/08/04-10:24:23
    Exiting hgodafr, rc=0 at 2010/08/04-10:24:23
    Entered hgopars, cursor id 1 at 2010/08/04-10:24:23
    type:0
    SQL text from hgopars, id=1, len=31 ...
    00: 53454C45 43542060 69643160 2C606465 [SELECT `id1`,`de]
    10: 73637231 60204652 4F4D2060 543160 [scr1` FROM `T1`]
    Exiting hgopars, rc=0 at 2010/08/04-10:24:23
    Entered hgoopen, cursor id 1 at 2010/08/04-10:24:23
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2010/08/04-10:24:23
    Entered hgodscr, cursor id 1 at 2010/08/04-10:24:23
    Entered hgopcda at 2010/08/04-10:24:23
    Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:23
    Entered hgopcda at 2010/08/04-10:24:23
    Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:256, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:23
    hgodscr, line 506: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    Exiting hgodscr, rc=0 at 2010/08/04-10:24:24
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:24
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    SQLBindCol: column 1, cdatatype: -16, bflsz: 4
    SQLBindCol: column 2, cdatatype: 1, bflsz: 257
    2 rows fetched
    Exiting hgoftch, rc=0 at 2010/08/04-10:24:24
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:24
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:2, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 5 256 0/ 0 0 0 0 descr1
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2010/08/04-10:24:24
    Entered hgoclse, cursor id 1 at 2010/08/04-10:24:27
    Exiting hgoclse, rc=0 at 2010/08/04-10:24:27
    Entered hgodafr, cursor id 1 at 2010/08/04-10:24:27
    Exiting hgodafr, rc=0 at 2010/08/04-10:24:27
    Entered hgocomm at 2010/08/04-10:24:28
    keepinfo:0, tflag:1
    00: 4D4F4D53 44422E38 62393537 3032392E [MOMSDB.8b957029.]
    10: 322E3130 2E333131 3531 [2.10.31151]
    tbid (len 23) is ...
    00: 4D4F4D53 44425B32 2E31302E 33313135 [MOMSDB[2.10.3115]
    10: 315D5B31 2E345D [1][1.4]]
    cmt(0):
    Entered hgocpctx at 2010/08/04-10:24:28
    Exiting hgocpctx, rc=0 at 2010/08/04-10:24:28
    Exiting hgocomm, rc=0 at 2010/08/04-10:24:28
    Entered hgolgof at 2010/08/04-10:24:28
    tflag:1
    Exiting hgolgof, rc=0 at 2010/08/04-10:24:28
    Entered hgoexit at 2010/08/04-10:24:28
    Exiting hgoexit, rc=0 at 2010/08/04-10:24:28

    is null statement is post processed. This means in case of a select ALL records from the remote database are fetched into the Oracle database and the is null statement is then processed locally in the Oracle db.
    So thze select will work as it is handled internally in the Oracle database. This also means as But "is null" isn't sent to the foreign MySQL db the update clause will fail with ORA-02070: database PLAZAHOST does not support IS NULL in this context
    You need to recode the statement or use passthrough statements.

  • Dg4odbc 11.2 to mysql desc table issue, query return only one record

    <h2>Hi,
    I have the following set up:
    11g R2 RAC oracle database, dg4odbc 11.2, UnixODBC 2.3 driver manager, MySQL ODBC 5.1.7 Driver on 64 bit Suse SLES 11 server.
    Remote database MySQL version 5.0.67 running on 32 bit linux server.
    I am having the following Issues:
    1. When desc table, sometimes only the first field is shown:
    SQL> desc sub_index@mybilltracker;
    Name Null? Type
    subject_id NOT NULL NUMBER(20)
    SQL> desc "sub_index"@mybilltracker;
    Name Null? Type
    subject_id NOT NULL NUMBER(20)
    Some other times I am able to see the correct table definition:
    SQL> desc "sub_index"@mybilltracker;
    Name Null? Type
    subject_id NOT NULL NUMBER(20)
    sess_id NUMBER(10)
    sess_yr NUMBER(10)
    subject_name VARCHAR2(255)
    SQL> desc sub_index@mybilltracker;
    Name Null? Type
    subject_id NOT NULL NUMBER(20)
    2. Select count(*) returns the total number of rows correctly. Select * or Select "field name" from table returns only one row:
    SQL> select count(*) from "mbt_user"@mybilltracker;
    COUNT(*)
    2
    SQL> select "user_id", "email" from "mbt_user"@mybilltracker; _(always return only one record!)_
    user_id email
    1 [email protected]
    Has anybody seen this? Can somebody help me pinpoint the problem? Thank you!
    </h2>
    =======================================
    <h2>Params in odbc.ini:[ODBC Data Sources]
    myodbc5 = MyODBC 5.17 Driver DSN
    [myodbc5]
    Driver = /usr/local/lib/libmyodbc5.so
    Description = Connector/ODBC 5.17 Driver DSN
    SERVER = *serverip
    PORT = *port
    USER = *user
    Password = *password
    Database = MyBillTracker
    #CHARSET = latin1
    QuotedId = Yes
    AnsiNPW = Yes
    TRACEFILE = /tmp/myodbc-MyBillTracker.trc
    TRACE = OFF
    </h2>
    =======================================
    <h2>params in initmyodbc5.ora
    # HS init parameters
    HS_FDS_CONNECT_INFO = myodbc5
    HS_FDS_TRACE_LEVEL = DEBUG
    HS_FDS_SHAREABLE_NAME = /usr/local/lib/libodbc.so
    HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
    HS_FDS_SUPPORT_STATISTICS=FALSE
    # ODBC specific environment variables
    set ODBCINI=/usr/local/etc/odbc.ini
    </h2>
    ===========================================
    Oracle HS Trace file:
    Oracle Corporation --- WEDNESDAY SEP 01 2010 16:11:19.060
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- WEDNESDAY SEP 01 2010 16:11:19.059
    Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    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
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    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_CHARACTER_SEMANTICS 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"
    HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    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 64 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 "myodbc5"
    Product-Info:
    Port Rls/Upd:1/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:myodbc5
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2010/09/01-16:11:19
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/lib/libodbc.so"
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x159540
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x1596f0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x159f20
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x15b230
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x163420
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x163880
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x1661c0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x1678f0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x168100
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x169c60
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x169c70
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x16b3c0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x16e640
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x16ea00
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x1705e0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x1711d0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x171500
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x1733a0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x173810
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x175870
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x175630
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x15bb50
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x15d4a0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x160e10
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x162cd0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x164400
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x167360
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x168a50
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x169fd0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x16ba60
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x16bfb0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x16d2c0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x16deb0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x16f4a0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x16f760
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x170230
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x171cc0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x1721e0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x1727d0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x172e10
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x173ae0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x176ca0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x1752b0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x1785b0
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Entered hgolofns at 2010/09/01-16:11:19
    symbol_peflctx=0x179260
    hoaerr:0
    Exiting hgolofns at 2010/09/01-16:11:19
    Exiting hgolofn, rc=0 at 2010/09/01-16:11: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 64 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2010/09/01-16:11:19
    Entered hgolgon at 2010/09/01-16:11:19
    reco:0, name:oracle, tflag:0
    Entered hgosuec at 2010/09/01-16:11:19
    Exiting hgosuec, rc=0 at 2010/09/01-16:11: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_CHARACTER_SEMANTICS" returned "FALSE"
    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 oracle as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2010/09/01-16:11:19
    HS_FDS_CONNECT_INFO = "myodbc5"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2010/09/01-16:11:19
    dsn:myodbc5, name:oracle
    optn:
    Entered hgocip at 2010/09/01-16:11:19
    dsn:myodbc5
    Exiting hgocip, rc=0 at 2010/09/01-16:11:19
    Exiting hgogenconstr, rc=0 at 2010/09/01-16:11:19
    Entered hgolosf at 2010/09/01-16:11:19
    Exiting hgolosf, rc=0 at 2010/09/01-16:11:19
    DriverName:libmyodbc5.so, DriverVer:05.01.0007
    DBMS Name:MySQL, DBMS Version:5.0.67
    Exiting hgocont, rc=0 at 2010/09/01-16:11:19
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2010/09/01-16:11:19
    Entered hgoulcp at 2010/09/01-16:11:19
    Entered hgowlst at 2010/09/01-16:11:19
    Exiting hgowlst, rc=0 at 2010/09/01-16:11: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
    SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    4 instance capabilities will be uploaded
    capno:1964, context:0x00000000, add-info: 0
    capno:1989, context:0x00000000, add-info: 0
    capno:1991, context:0x0001ffff, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
    Exiting hgoulcp, rc=0 at 2010/09/01-16:11:19
    Entered hgouldt at 2010/09/01-16:11:19
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2010/09/01-16:11:19
    Entered hgobegn at 2010/09/01-16:11:19
    tflag:0 , initial:1
    hoi:0x15d8f088, ttid (len 34) is ...
    00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
    10: 37373837 3164662E 31302E35 342E3533 [77871df.10.54.53]
    20: 3938 [98]
    tbid (len 31) is ...
    00: 47454D53 2E4C534F 2E4C4F43 414C5B31 [GEMS.LSO.LOCAL[1]
    10: 302E3534 2E353339 385D5B31 2E345D [0.54.5398][1.4]]
    Exiting hgobegn, rc=0 at 2010/09/01-16:11:19
    Entered hgodtab at 2010/09/01-16:11:19
    count:1
    table: mbt_user
    Allocate hoada[0] @ 0x7a6440
    Entered hgopcda at 2010/09/01-16:11:19
    Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
    Entered hgopcda at 2010/09/01-16:11:19
    Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
    Entered hgopcda at 2010/09/01-16:11:19
    Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
    Entered hgopcda at 2010/09/01-16:11:19
    Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
    Entered hgopcda at 2010/09/01-16:11:19
    Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
    The hoada for table mbt_user follows...
    hgodtab, line 876: Printing hoada @ 0x7a6440
    MAX:5, ACTUAL:5, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
    12 VARCHAR N 255 255 0/ 0 0 0 200 email
    91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
    -7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
    -1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
    Exiting hgodtab, rc=0 at 2010/09/01-16:11:19
    Entered hgodafr, cursor id 0 at 2010/09/01-16:11:19
    Free hoada @ 0x7a6440
    Exiting hgodafr, rc=0 at 2010/09/01-16:11:19
    Entered hgopars, cursor id 1 at 2010/09/01-16:11:19
    type:0
    SQL text from hgopars, id=1, len=34 ...
    00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
    10: 46524F4D 20606D62 745F7573 65726020 [FROM `mbt_user` ]
    20: 4131 [A1]
    Exiting hgopars, rc=0 at 2010/09/01-16:11:19
    Entered hgoopen, cursor id 1 at 2010/09/01-16:11:19
    hgoopen, line 86: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2010/09/01-16:11:19
    Entered hgodscr, cursor id 1 at 2010/09/01-16:11:19
    Allocate hoada @ 0x7a6440
    Entered hgopcda at 2010/09/01-16:11:19
    Column:1(COUNT(*)): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
    hgodscr, line 880: Printing hoada @ 0x7a6440
    MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
    Exiting hgodscr, rc=0 at 2010/09/01-16:11:19
    Entered hgoftch, cursor id 1 at 2010/09/01-16:11:19
    hgoftch, line 130: Printing hoada @ 0x7a6440
    MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
    Performing delayed open.
    SQLBindCol: column 1, cdatatype: -25, bflsz: 8
    SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
    SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
    1 rows fetched
    Exiting hgoftch, rc=0 at 2010/09/01-16:11:19
    Entered hgoftch, cursor id 1 at 2010/09/01-16:11:19
    hgoftch, line 130: Printing hoada @ 0x7a6440
    MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2010/09/01-16:11:19
    Entered hgoclse, cursor id 1 at 2010/09/01-16:11:26
    Exiting hgoclse, rc=0 at 2010/09/01-16:11:26
    Entered hgodafr, cursor id 1 at 2010/09/01-16:11:26
    Free hoada @ 0x7a6440
    Exiting hgodafr, rc=0 at 2010/09/01-16:11:26
    Entered hgopars, cursor id 1 at 2010/09/01-16:11:26
    type:0
    SQL text from hgopars, id=1, len=49 ...
    00: 53454C45 43542041 312E6075 7365725F [SELECT A1.`user_]
    10: 6964602C 41312E60 656D6169 6C602046 [id`,A1.`email` F]
    20: 524F4D20 606D6274 5F757365 72602041 [ROM `mbt_user` A]
    30: 31 [1]
    Exiting hgopars, rc=0 at 2010/09/01-16:11:26
    Entered hgoopen, cursor id 1 at 2010/09/01-16:11:26
    hgoopen, line 86: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2010/09/01-16:11:26
    Entered hgodscr, cursor id 1 at 2010/09/01-16:11:26
    Allocate hoada @ 0x7a6440
    Entered hgopcda at 2010/09/01-16:11:26
    Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/01-16:11:26
    Entered hgopcda at 2010/09/01-16:11:26
    Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/01-16:11:26
    hgodscr, line 880: Printing hoada @ 0x7a6440
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
    12 VARCHAR N 255 255 0/ 0 0 0 200 email
    Exiting hgodscr, rc=0 at 2010/09/01-16:11:26
    Entered hgoftch, cursor id 1 at 2010/09/01-16:11:26
    hgoftch, line 130: Printing hoada @ 0x7a6440
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
    12 VARCHAR N 255 255 0/ 0 0 0 200 email
    Performing delayed open.
    SQLBindCol: column 1, cdatatype: -25, bflsz: 8
    SQLBindCol: column 2, cdatatype: 1, bflsz: 256
    SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
    SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
    SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21
    SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21, (bfl: 255, mbl: 255)
    1 rows fetched
    Exiting hgoftch, rc=0 at 2010/09/01-16:11:26
    Entered hgoftch, cursor id 1 at 2010/09/01-16:11:26
    hgoftch, line 130: Printing hoada @ 0x7a6440
    MAX:2, ACTUAL:2, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
    12 VARCHAR N 21 255 0/ 0 0 0 200 email
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2010/09/01-16:11:26
    Entered hgoclse, cursor id 1 at 2010/09/01-16:11:39
    Exiting hgoclse, rc=0 at 2010/09/01-16:11:39
    Entered hgodafr, cursor id 1 at 2010/09/01-16:11:39
    Free hoada @ 0x7a6440
    Exiting hgodafr, rc=0 at 2010/09/01-16:11:39
    Entered hgopars, cursor id 1 at 2010/09/01-16:11:39
    type:0
    SQL text from hgopars, id=1, len=101 ...
    00: 53454C45 43542041 312E6075 7365725F [SELECT A1.`user_]
    10: 6964602C 41312E60 656D6169 6C602C41 [id`,A1.`email`,A]
    20: 312E606C 6173745F 6C6F6767 65645F69 [1.`last_logged_i]
    30: 6E602C41 312E606D 61696C69 6E675F6C [n`,A1.`mailing_l]
    40: 69737460 2C41312E 60706173 73776F72 [ist`,A1.`passwor]
    50: 64602046 524F4D20 606D6274 5F757365 [d` FROM `mbt_use]
    60: 72602041 31 [r` A1]
    Exiting hgopars, rc=0 at 2010/09/01-16:11:39
    Entered hgoopen, cursor id 1 at 2010/09/01-16:11:39
    hgoopen, line 86: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2010/09/01-16:11:39
    Entered hgodscr, cursor id 1 at 2010/09/01-16:11:39
    Allocate hoada @ 0x7a6440
    Entered hgopcda at 2010/09/01-16:11:39
    Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
    Entered hgopcda at 2010/09/01-16:11:39
    Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
    Entered hgopcda at 2010/09/01-16:11:39
    Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
    Entered hgopcda at 2010/09/01-16:11:39
    Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
    Entered hgopcda at 2010/09/01-16:11:39
    Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
    hgodscr, line 880: Printing hoada @ 0x7a6440
    MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
    12 VARCHAR N 255 255 0/ 0 0 0 200 email
    91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
    -7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
    -1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
    Exiting hgodscr, rc=0 at 2010/09/01-16:11:39
    Entered hgoftch, cursor id 1 at 2010/09/01-16:11:39
    hgoftch, line 130: Printing hoada @ 0x7a6440
    MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
    12 VARCHAR N 255 255 0/ 0 0 0 200 email
    91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
    -7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
    -1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
    Performing delayed open.
    SQLBindCol: column 1, cdatatype: -25, bflsz: 8
    SQLBindCol: column 2, cdatatype: 1, bflsz: 256
    SQLBindCol: column 3, cdatatype: 93, bflsz: 16
    SQLBindCol: column 4, cdatatype: -28, bflsz: 1
    SQLBindCol: column 5, cdatatype: 1, bflsz: 767
    SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
    SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
    SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21
    SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21, (bfl: 255, mbl: 255)
    SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16
    SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16, (bfl: 16, mbl: 16)
    SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1
    SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1, (bfl: 1, mbl: 1)
    SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40
    SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40, (bfl: 766, mbl: 0)
    1 rows fetched
    Exiting hgoftch, rc=0 at 2010/09/01-16:11:39
    Entered hgoftch, cursor id 1 at 2010/09/01-16:11:39
    hgoftch, line 130: Printing hoada @ 0x7a6440
    MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
    12 VARCHAR N 21 255 0/ 0 0 0 200 email
    91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
    -7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
    -1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2010/09/01-16:11:39
    Entered hgoclse, cursor id 1 at 2010/09/01-16:11:45
    Exiting hgoclse, rc=0 at 2010/09/01-16:11:45
    Entered hgodafr, cursor id 1 at 2010/09/01-16:11:45
    Free hoada @ 0x7a6440
    Exiting hgodafr, rc=0 at 2010/09/01-16:11:45
    Entered hgocomm at 2010/09/01-16:11:45
    keepinfo:0, tflag:1
    00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
    10: 37373837 3164662E 31302E35 342E3533 [77871df.10.54.53]
    20: 3938 [98]
    tbid (len 31) is ...
    00: 47454D53 2E4C534F 2E4C4F43 414C5B31 [GEMS.LSO.LOCAL[1]
    10: 302E3534 2E353339 385D5B31 2E345D [0.54.5398][1.4]]
    cmt(0):
    Entered hgocpctx at 2010/09/01-16:11:45
    Exiting hgocpctx, rc=0 at 2010/09/01-16:11:45
    Exiting hgocomm, rc=0 at 2010/09/01-16:11:45
    Entered hgolgof at 2010/09/01-16:11:45
    tflag:1
    Exiting hgolgof, rc=0 at 2010/09/01-16:11:45
    Entered hgoexit at 2010/09/01-16:11:45
    Exiting hgoexit, rc=0

    <h2>This is the scenario where describe table only shows the first field during the first SQLPlus session. I closed the first SQLPlus session, simply opened a new SQLPlus session. Describe table shows all column definitions of MySQL table this time. You can see that there are three records in tracking_list table, however, select * from "tracking_list"@mybilltracker only retruns one record.</h2>
    First SQLPlus Session:
    SQL> describe "tracking_list"@mybilltracker;
    Name Null? Type
    list_id NUMBER(20)
    SQL> select count(*) from "tracking_list"@mybilltracker;
    COUNT(*)
    3
    SQL> select * from "tracking_list"@mybilltracker;
    list_id
    1
    SQL> describe "tracking_list"@mybilltracker;
    Name Null? Type
    list_id NUMBER(20)
    SQL> exit
    ========================================
    Second SQLPlus Session:
    Connected.
    SQL> describe "tracking_list"@mybilltracker;
    Name Null? Type
    list_id NUMBER(20)
    last_updt_date DATE
    list_create_date DATE
    list_name NOT NULL VARCHAR2(255)
    list_yr NOT NULL NUMBER(10)
    user_id NUMBER(20)
    SQL> select count(*) from "tracking_list"@mybilltracker;
    COUNT(*)
    3
    SQL> select * from "tracking_list"@mybilltracker;
    list_id last_updt list_crea
    list_name
    list_yr user_id
    1 02-SEP-10 02-SEP-10
    List 1
    2010 1
    SQL> exit
    =============================================
    HS trace file for the first SQLPlus session:
    Oracle Corporation --- THURSDAY SEP 02 2010 09:55:46.523
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- THURSDAY SEP 02 2010 09:55:46.522
    Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    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
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    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_CHARACTER_SEMANTICS 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"
    HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    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 64 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 "myodbc5"
    Product-Info:
    Port Rls/Upd:1/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:myodbc5
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2010/09/02-09:55:46
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/lib/libodbc.so"
    Entered hgolofns at 2010/09/02-09:55:46
    symbol_peflctx=0xdc523540
    hoaerr:0
    Exiting hgolofns at 2010/09/02-09:55:46
    ......(repeating .....)
    Entered hgolofns at 2010/09/02-09:55:46
    symbol_peflctx=0xdc543260
    hoaerr:0
    Exiting hgolofns at 2010/09/02-09:55:46
    Exiting hgolofn, rc=0 at 2010/09/02-09:55:46
    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 64 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2010/09/02-09:55:46
    Entered hgolgon at 2010/09/02-09:55:46
    reco:0, name:oracle, tflag:0
    Entered hgosuec at 2010/09/02-09:55:46
    Exiting hgosuec, rc=0 at 2010/09/02-09:55:46
    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_CHARACTER_SEMANTICS" returned "FALSE"
    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 oracle as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2010/09/02-09:55:46
    HS_FDS_CONNECT_INFO = "myodbc5"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2010/09/02-09:55:46
    dsn:myodbc5, name:oracle
    optn:
    Entered hgocip at 2010/09/02-09:55:46
    dsn:myodbc5
    Exiting hgocip, rc=0 at 2010/09/02-09:55:46
    Exiting hgogenconstr, rc=0 at 2010/09/02-09:55:46
    Entered hgolosf at 2010/09/02-09:55:46
    Exiting hgolosf, rc=0 at 2010/09/02-09:55:46
    DriverName:libmyodbc5.so, DriverVer:05.01.0007
    DBMS Name:MySQL, DBMS Version:5.0.67
    Exiting hgocont, rc=0 at 2010/09/02-09:55:46
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2010/09/02-09:55:46
    Entered hgoulcp at 2010/09/02-09:55:46
    Entered hgowlst at 2010/09/02-09:55:46
    Exiting hgowlst, rc=0 at 2010/09/02-09:55:46
    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
    SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    4 instance capabilities will be uploaded
    capno:1964, context:0x00000000, add-info: 0
    capno:1989, context:0x00000000, add-info: 0
    capno:1991, context:0x0001ffff, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
    Exiting hgoulcp, rc=0 at 2010/09/02-09:55:46
    Entered hgouldt at 2010/09/02-09:55:46
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2010/09/02-09:55:46
    Entered hgobegn at 2010/09/02-09:55:46
    tflag:0 , initial:1
    hoi:0x8b4b52f8, ttid (len 34) is ...
    00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
    10: 37373837 3164662E 33322E36 382E3335 [77871df.32.68.35]
    20: 3630 [60]
    tbid (len 31) is ...
    00: 47454D53 2E4C534F 2E4C4F43 414C5B33 [GEMS.LSO.LOCAL[3]
    10: 322E3638 2E333536 305D5B31 2E345D [2.68.3560][1.4]]
    Exiting hgobegn, rc=0 at 2010/09/02-09:55:46
    Entered hgodtab at 2010/09/02-09:55:46
    count:1
    table: mbt_user
    Allocate hoada[0] @ 0x7a6440
    Entered hgopcda at 2010/09/02-09:55:46
    Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
    Entered hgopcda at 2010/09/02-09:55:46
    Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
    Entered hgopcda at 2010/09/02-09:55:46
    Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
    Entered hgopcda at 2010/09/02-09:55:46
    Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
    Entered hgopcda at 2010/09/02-09:55:46
    Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
    The hoada for table mbt_user follows...
    hgodtab, line 876: Printing hoada @ 0x7a6440
    MAX:5, ACTUAL:5, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
    12 VARCHAR N 255 255 0/ 0 0 0 200 email
    91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
    -7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
    -1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
    Exiting hgodtab, rc=0 at 2010/09/02-09:55:46
    Entered hgodafr, cursor id 0 at 2010/09/02-09:55:46
    Free hoada @ 0x7a6440
    Exiting hgodafr, rc=0 at 2010/09/02-09:55:46
    Entered hgopars, cursor id 1 at 2010/09/02-09:55:52
    type:0
    SQL text from hgopars, id=1, len=101 ...
    00: 53454C45 43542041 312E6075 7365725F [SELECT A1.`user_]
    10: 6964602C 41312E60 656D6169 6C602C41 [id`,A1.`email`,A]
    20: 312E606C 6173745F 6C6F6767 65645F69 [1.`last_logged_i]
    30: 6E602C41 312E606D 61696C69 6E675F6C [n`,A1.`mailing_l]
    40: 69737460 2C41312E 60706173 73776F72 [ist`,A1.`passwor]
    50: 64602046 524F4D20 606D6274 5F757365 [d` FROM `mbt_use]
    60: 72602041 31 [r` A1]
    Exiting hgopars, rc=0 at 2010/09/02-09:55:52
    Entered hgoopen, cursor id 1 at 2010/09/02-09:55:52
    hgoopen, line 86: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2010/09/02-09:55:52
    Entered hgodscr, cursor id 1 at 2010/09/02-09:55:52
    Allocate hoada @ 0x7a63a0
    Entered hgopcda at 2010/09/02-09:55:52
    Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
    Entered hgopcda at 2010/09/02-09:55:52
    Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
    Entered hgopcda at 2010/09/02-09:55:52
    Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
    Entered hgopcda at 2010/09/02-09:55:52
    Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
    Entered hgopcda at 2010/09/02-09:55:52
    Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
    hgodscr, line 880: Printing hoada @ 0x7a63a0
    MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
    12 VARCHAR N 255 255 0/ 0 0 0 200 email
    91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
    -7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
    -1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
    Exiting hgodscr, rc=0 at 2010/09/02-09:55:52
    Entered hgoftch, cursor id 1 at 2010/09/02-09:55:52
    hgoftch, line 130: Printing hoada @ 0x7a63a0
    MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
    12 VARCHAR N 255 255 0/ 0 0 0 200 email
    91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
    -7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
    -1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
    Performing delayed open.
    SQLBindCol: column 1, cdatatype: -25, bflsz: 8
    SQLBindCol: column 2, cdatatype: 1, bflsz: 256
    SQLBindCol: column 3, cdatatype: 93, bflsz: 16
    SQLBindCol: column 4, cdatatype: -28, bflsz: 1
    SQLBindCol: column 5, cdatatype: 1, bflsz: 767
    SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
    SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
    SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21
    SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21, (bfl: 255, mbl: 255)
    SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16
    SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16, (bfl: 16, mbl: 16)
    SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1
    SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1, (bfl: 1, mbl: 1)
    SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40
    SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40, (bfl: 766, mbl: 0)
    1 rows fetched
    Exiting hgoftch, rc=0 at 2010/09/02-09:55:52
    Entered hgoftch, cursor id 1 at 2010/09/02-09:55:52
    hgoftch, line 130: Printing hoada @ 0x7a63a0
    MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
    12 VARCHAR N 21 255 0/ 0 0 0 200 email
    91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
    -7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
    -1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2010/09/02-09:55:52
    Entered hgoclse, cursor id 1 at 2010/09/02-09:56:16
    Exiting hgoclse, rc=0 at 2010/09/02-09:56:16
    Entered hgodafr, cursor id 1 at 2010/09/02-09:56:16
    Free hoada @ 0x7a63a0
    Exiting hgodafr, rc=0 at 2010/09/02-09:56:16
    Entered hgopars, cursor id 1 at 2010/09/02-09:56:16
    type:0
    SQL text from hgopars, id=1, len=34 ...
    00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
    10: 46524F4D 20606D62 745F7573 65726020 [FROM `mbt_user` ]
    20: 4131 [A1]
    Exiting hgopars, rc=0 at 2010/09/02-09:56:16
    Entered hgoopen, cursor id 1 at 2010/09/02-09:56:16
    hgoopen, line 86: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2010/09/02-09:56:16
    Entered hgodscr, cursor id 1 at 2010/09/02-09:56:16
    Allocate hoada @ 0x7a63a0
    Entered hgopcda at 2010/09/02-09:56:16
    Column:1(COUNT(*)): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/02-09:56:16
    hgodscr, line 880: Printing hoada @ 0x7a63a0
    MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
    Exiting hgodscr, rc=0 at 2010/09/02-09:56:16
    Entered hgoftch, cursor id 1 at 2010/09/02-09:56:16
    hgoftch, line 130: Printing hoada @ 0x7a63a0
    MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
    Performing delayed open.
    SQLBindCol: column 1, cdatatype: -25, bflsz: 8
    SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
    SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
    1 rows fetched
    Exiting hgoftch, rc=0 at 2010/09/02-09:56:16
    Entered hgoftch, cursor id 1 at 2010/09/02-09:56:16
    hgoftch, line 130: Printing hoada @ 0x7a63a0
    MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2010/09/02-09:56:16
    Entered hgodtab at 2010/09/02-10:03:18
    count:1
    table: tracking_list
    Allocate hoada[0] @ 0x7ebbd0
    Entered hgopcda at 2010/09/02-10:03:18
    Column:1(list_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/09/02-10:03:18
    The hoada for table tracking_list follows...
    hgodtab, line 876: Printing hoada @ 0x7ebbd0
    MAX:1, ACTUAL:1, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
    Exiting hgodtab, rc=0 at 2010/09/02-10:03:18
    Entered hgodafr, cursor id 0 at 2010/09/02-10:03:18
    Free hoada @ 0x7ebbd0
    Exiting hgodafr, rc=0 at 2010/09/02-10:03:18
    Entered hgoclse, cursor id 1 at 2010/09/02-10:06:11
    Exiting hgoclse, rc=0 at 2010/09/02-10:06:11
    Entered hgodafr, cursor id 1 at 2010/09/02-10:06:11
    Free hoada @ 0x7a63a0
    Exiting hgodafr, rc=0 at 2010/09/02-10:06:11
    Entered hgopars, cursor id 1 at 2010/09/02-10:06:11
    type:0
    SQL text from hgopars, id=1, len=39 ...
    00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
    10: 46524F4D 20607472 61636B69 6E675F6C [FROM `tracking_l]
    20: 69737460 204131 [ist` A1]
    Exiting hgopars, rc=0 at 2010/09/02-10:06:11
    Entered hgoopen, cursor id 1 at 2010/09/02-10:06:11
    hgoopen, line 86: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2010/09/02-10:06:11
    Entered hgodscr, cursor id 1 at 2010/09/02-10:06:11
    Allocate hoada @ 0x7a63e8
    Entered hgopcda at 2010/09/02-10:06:11
    Column:1(COUNT(*)): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/02-10:06:11
    hgodscr, line 880: Printing hoada @ 0x7a63e8
    MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
    Exiting hgodscr, rc=0 at 2010/09/02-10:06:11
    Entered hgoftch, cursor id 1 at 2010/09/02-10:06:11
    hgoftch, line 130: Printing hoada @ 0x7a63e8
    MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
    Performing delayed open.
    SQLBindCol: column 1, cdatatype: -25, bflsz: 8
    SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
    SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
    1 rows fetched
    Exiting hgoftch, rc=0 at 2010/09/02-10:06:11
    Entered hgoftch, cursor id 1 at 2010/09/02-10:06:11
    hgoftch, line 130: Printing hoada @ 0x7a63e8
    MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2010/09/02-10:06:11
    Entered hgoclse, cursor id 1 at 2010/09/02-10:06:20
    Exiting hgoclse, rc=0 at 2010/09/02-10:06:20
    Entered hgodafr, cursor id 1 at 2010/09/02-10:06:20
    Free hoada @ 0x7a63e8
    Exiting hgodafr, rc=0 at 2010/09/02-10:06:20
    Entered hgopars, cursor id 1 at 2010/09/02-10:06:20
    type:0
    SQL text from hgopars, id=1, len=43 ...
    00: 53454C45 43542041 312E606C 6973745F [SELECT A1.`list_]
    10: 69646020 46524F4D 20607472 61636B69 [id` FROM `tracki]
    20: 6E675F6C 69737460 204131 [ng_list` A1]
    Exiting hgopars, rc=0 at 2010/09/02-10:06:20
    Entered hgoopen, cursor id 1 at 2010/09/02-10:06:20
    hgoopen, line 86: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2010/09/02-10:06:20
    Entered hgodscr, cursor id 1 at 2010/09/02-10:06:20
    Allocate hoada @ 0x7a6440
    Entered hgopcda at 2010/09/02-10:06:20
    Column:1(list_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/09/02-10:06:20
    hgodscr, line 880: Printing hoada @ 0x7a6440
    MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
    Exiting hgodscr, rc=0 at 2010/09/02-10:06:20
    Entered hgoftch, cursor id 1 at 2010/09/02-10:06:20
    hgoftch, line 130: Printing hoada @ 0x7a6440
    MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
    Performing delayed open.
    SQLBindCol: column 1, cdatatype: -25, bflsz: 8
    SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
    SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
    1 rows fetched
    Exiting hgoftch, rc=0 at 2010/09/02-10:06:20
    Entered hgoftch, cursor id 1 at 2010/09/02-10:06:20
    hgoftch, line 130: Printing hoada @ 0x7a6440
    MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2010/09/02-10:06:20
    Entered hgoclse, cursor id 1 at 2010/09/02-10:06:55
    Exiting hgoclse, rc=0 at 2010/09/02-10:06:55
    Entered hgodafr, cursor id 1 at 2010/09/02-10:06:55
    Free hoada @ 0x7a6440
    Exiting hgodafr, rc=0 at 2010/09/02-10:06:55
    Entered hgocomm at 2010/09/02-10:06:55
    keepinfo:0, tflag:1
    00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
    10: 37373837 3164662E 33322E36 382E3335 [77871df.32.68.35]
    20: 3630 [60]
    tbid (len 31) is ...
    00: 47454D53 2E4C534F 2E4C4F43 414C5B33 [GEMS.LSO.LOCAL[3]
    10: 322E3638 2E333536 305D5B31 2E345D [2.68.3560][1.4]]
    cmt(0):
    Entered hgocpctx at 2010/09/02-10:06:55
    Exiting hgocpctx, rc=0 at 2010/09/02-10:06:55
    Exiting hgocomm, rc=0 at 2010/09/02-10:06:55
    Entered hgolgof at 2010/09/02-10:06:55
    tflag:1
    Exiting hgolgof, rc=0 at 2010/09/02-10:06:55
    Entered hgoexit at 2010/09/02-10:06:55
    Exiting hgoexit, rc=0

  • 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

  • Dg4odbc to connect to mysql rc 28500 something other than invalid authoriza

    dg4odbc to connect to mysql rc 28500 something other than invalid authoriza
    Hi,
    We are trying to establish connectivity from oracle to mysql using dg4odbc and openlink ODBC drivers. I get the following error when queries are run on mysql tables from within
    oracle/db links.
    SQL> select * from "labels"@"dg4odbc.cisco.com"
    2 ;
    select * from "labels"@"dg4odbc.cisco.com"
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from DG4ODBC
    contents of dg4odbc agent log is as below.
    $ cat dg4odbc_agt_3168.trc
    Oracle Corporation --- TUESDAY SEP 30 2008 05:37:56.658
    Heterogeneous Agent Release
    11.1.0.6.0
    Oracle Corporation --- TUESDAY SEP 30 2008 05:37:56.655
    Version 11.1.0.6.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    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_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    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_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS 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"
    HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "dg4odbc"
    Product-Info:
    Port Rls/Upd:6/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.6.0_0006, Instance:dg4odbc
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=873
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=90200
    Entered hgolofn at 2008/09/30-05:37:57
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/export/home/oratest/openlink/lib/libiodbc.so"
    Entered hgolofns at 2008/09/30-05:37:57
    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 ".,"
    Exiting hgoinit, rc=0 at 2008/09/30-05:37:57
    Entered hgolgon at 2008/09/30-05:37:57
    reco:0, name:odbc_26530, tflag:0
    Entered hgosuec at 2008/09/30-05:37:57
    Exiting hgosuec, rc=0 at 2008/09/30-05:37:57
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using odbc_26530 as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2008/09/30-05:37:57
    HS_FDS_CONNECT_INFO = "dg4odbc"
    HS_FDS_CONNECT_STRING = "OptimizePrepare=2"
    Entered hgogenconstr at 2008/09/30-05:37:57
    dsn:dg4odbc, name:odbc_26530
    optn:OptimizePrepare=2
    ##>Connect Parameters (len=57)<##
    ## DSN=dg4odbc;
    #! UID=odbc_26530;
    #! PWD=*
    ## OptimizePrepare=2;
    Exiting hgogenconstr, rc=0 at 2008/09/30-05:37:57
    Entered hgopoer at 2008/09/30-05:37:57
    Exiting hgopoer, rc=0 at 2008/09/30-05:37:57 with error ptr FILE:hgopoer.c LINE:128 ID:GetDiagRec error
    hgocont, line 1904: calling SqlDriverConnect got sqlstate
    Exiting hgocont, rc=28500 at 2008/09/30-05:37:57 with error ptr FILE:hgocont.c LINE:1923 ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2008/09/30-05:37:57 with error ptr FILE:hgolgon.c LINE:612 ID:Calling hgocont
    Entered hgoexit at 2008/09/30-05:37:57
    $
    Here is my setup
    Source : oracle 9208 on solaris + Patch_p5965763_9208_solaris64
    dg4odbc component on a different home
    9i and 11g listeners.
    Target : Mysql 5.x on linux sever
    ODBC Driver manager and driver : Openlink single tier driver for mysql.
    he last lines of dg4odbc agent states an error "something other then invalid authorization"(see below)..
    Entered hgopoer at 2008/09/30-05:37:57
    Exiting hgopoer, rc=0 at 2008/09/30-05:37:57 with error ptr FILE:hgopoer.c LINE:128 ID:GetDiagRec error
    hgocont, line 1904: calling SqlDriverConnect got sqlstate
    Exiting hgocont, rc=28500 at 2008/09/30-05:37:57 with error ptr FILE:hgocont.c LINE:1923 ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2008/09/30-05:37:57 with error ptr FILE:hgolgon.c LINE:612 ID:Calling hgocont
    Entered hgoexit at 2008/09/30-05:37:57
    Has anyone encountered similar issue while configuring dg4odbc....I never had trouble with hsodbc. Since hsodbc is desupported , We are evaluating dg4odbc and openlink odbc
    drivers to establish connectivity to mysql and stuck at this point.
    Any suggestion from gateway gurus ?
    Thanks in advance,
    Bhaskar

    Content of Important config files is as below.
    Source : oracle 9208 on solaris + Patch_p5965763_9208_solaris64
    dg4odbc component on a different home
    9i and 11g listeners.
    Target : Mysql 5.x on linux sever
    ODBC Driver manager and driver : Openlink single tier driver for mysql.
    contents of key config files are as below.
    contents of 9i tnsnames.ora
    # To Test DG4ODBC Config
    dg4odbc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = ora-dev2)
    (PORT = 1556)
    (CONNECT_DATA =
    (SID= dg4odbc)
    (HS=OK)
    contents of 11g listener file
    $ cat listener.ora
    # listener.ora Network Configuration File: /u03/orapoc/oracle/product/dg4odbc/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    TRACE_LEVEL_LISTENER_DG = USER
    LISTENER_DG =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora-dev2)(PORT = 1556))
    LOG_FILE_LISTENER_DG = LISTENER_DG.log
    TRACE_DIRECTORY_LISTENER_DG = /u03/orapoc/oracle/product/dg4odbc/network/trace
    SID_LIST_LISTENER_DG =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u03/orapoc/oracle/product/dg4odbc)
    (SID_NAME = dg4odbc)
    (ENVS = "LD_LIBRARY_PATH=/export/home/oratest/openlink/lib:/u03/orapoc/oracle/product/dg4odbc/lib")
    (PROGRAM = dg4odbc)
    LOG_DIRECTORY_LISTENER_DG = /u03/orapoc/oracle/product/dg4odbc/network/log
    TRACE_FILE_LISTENER_DG = LISTENER_DG.trc
    contents of initdg4odbc.ora
    $ pwd
    /u03/orapoc/oracle/product/dg4odbc/hs/admin
    $ ls
    initdg4odbc.ora initdg4odbc.ora.orig listener.ora.sample tnsnames.ora.sample
    $ cat initdg4odbc.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=dg4odbc
    HS_FDS_TRACE_LEVEL = DEBUG
    HS_FDS_TRACE_FILE_NAME = dg_mysql.log
    HS_FDS_CONNECT_STRING = "OptimizePrepare=2"
    HS_FDS_SHAREABLE_NAME=/export/home/oratest/openlink/lib/libiodbc.so
    HS_FDS_SUPPORT_STATISTICS=FALSE
    # ODBC specific environment variables
    set ODBCINI=/export/home/oratest/openlink/bin/odbc.ini
    set ODBCINSTINI=/export/home/oratest/openlink/bin/odbcinst.ini
    set OPENLINKINI=/export/home/oratest/openlink/bin/openlink.ini
    set OPL_LICENSE_DIR=/export/home/oratest/openlink/bin/
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    set LD_LIBRARY_PATH=/export/home/oratest/openlink/lib:/u03/orapoc/oracle/product/dg4odbc/lib
    contents of odbc.ini
    $ cat /export/home/oratest/openlink/bin/odbc.ini
    ; odbc.ini
    ; ODBC DSN configuration file
    ; This file is an OpenLink Software product configuration file.
    ; To learn more about this product, or any other product in our
    ; portfolio, please check out our web site at:
    ; http://www.openlinksw.com
    ; or contact us at:
    ; [email protected]
    ; If you have any technical questions, please contact our support
    ; staff at:
    ; [email protected]
    [ODBC Data Sources]
    mys5_lite = OpenLink MySQL 5.x Lite Driver (multi threaded)
    mys5_lite_unicode = OpenLink MySQL 5.x Lite Driver (Unicode)(multi threaded)
    dg4odbc = OpenLink MySQL 5.x Lite Driver (multi threaded)
    [mys5_lite]
    Driver = /export/home/oratest/openlink/lib/mys5_mt_lt.so
    ServerType = MySQL 5.x
    Username =
    Password =
    Database =
    Options =
    FetchBufferSize = 99
    ReadOnly =
    DeferLongFetch =
    JetFix = No
    Description = Sample MySQL 5.x Lite Connection
    MaxRows =
    NoRowSetSizeLimit = No
    InitialSQL =
    NoAutoCommit = No
    NoLoginBox =
    SqlDbmsName =
    [mys5_lite_unicode]
    Driver = /export/home/oratest/openlink/lib/mys5_mt_lu.so
    ServerType = MySQL 5.x
    Username =
    Password =
    Database =
    Options =
    FetchBufferSize = 99
    ReadOnly = no
    DeferLongFetch = no
    JetFix = no
    Description = Sample MySQL 5.x Lite Connection
    [dg4odbc]
    DeferLongFetch =
    MaxRows = 1000000
    JetFix = No
    NoRowSetSizeLimit = No
    Description = Openlink Unix Lite DSN
    Options = -H odbctest.power.com -P 3329
    UserName = odbc_test
    Password = abcdef
    ServerType = MySQL 5.x
    InitialSQL =
    Driver = /export/home/oratest/openlink/lib/mys5_mt_lt.so
    Database = linksys__dev
    ReadOnly =
    NoAutoCommit = No
    NoLoginBox =
    FetchBufferSize = 99
    SqlDbmsName =
    [ODBC]
    DebugFile = /export/home/oratest/openlink/mysql_debug
    TraceFile = /export/home/oratest/openlink/openlink_mysql
    Trace = 1

Maybe you are looking for

  • How do I get rid of a ton of old reimported email from the Mail App?

    I was having an sync issue with a particular email address, it wasn't getting the emails forwarded from GMail into my Apple Mail account, so I followed the directions I got from apple.com "Go to your home Library folder, then to the Mail folder and r

  • Need help in creating Database connection to Apache 4

    I desperately need help for my project. I'm doing a shopping cart project. Created a java bean to establish connection to my sql 7 server database. But the following always appear. I'm using dreamweaver mx to create my webpage and so I use its bindin

  • Instrument I/O Assistant refuses to save serial port settings

    (I'm using Labview 7.1 on Windows XP) I have a problem communicating with a device over a serial port using my lab computer. The serial port is the only port on the device. I have successfully communicated with the device on this computer using windo

  • Who creates the Photo Box album in iPhoto iOS 7.1?

    I just noticed an album in iPhoto iOS 7.1 that is titled "Photo Box."  How is it created?

  • Firefox Android Locks Up Samsung GS5

    Cant stop Firefox Android from stopping working or freezing up on my Samsung GS5. Sometimes it hangs so hard i have to remove the battery to reboot my phone. Never had problems with my GS3 or my Tab2 devices. But galaxy S5 just hated this browser. I'