Heterogeneous Connectivity to MySQL with ODBC 5.1

Hi,
I have a setup with an oracle 10g XE version on an windows Server 2003 together with a MySQL 5.5
I setup a Heterogeneous Link using MySQL ODBC 5.1.
Every time I select something from a mysql table all varchar and text fields ignored in result set.
so the
select * from project@sugarcrm
returns only the non text/varchar fields (dates,numeric)
the select name from project@sugarcrm where name is char fiels
returns ORA-00904 'name invalid identifier '
Thanks

I was looking for the sql.log in defined path if was in c:\ ...
odbcad32 1860-2944     ENTER SQLAllocHandle
          SQLSMALLINT 1 <SQL_HANDLE_ENV>
          SQLHANDLE 00000000
          SQLHANDLE * 0007D2C0
odbcad32 1860-2944     EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
          SQLSMALLINT 1 <SQL_HANDLE_ENV>
          SQLHANDLE 00000000
          SQLHANDLE * 0x0007D2C0 ( 0x009f14e8)
odbcad32 1860-2944     ENTER SQLSetEnvAttr
          SQLHENV 009F14E8
          SQLINTEGER 200 <SQL_ATTR_ODBC_VERSION>
          SQLPOINTER 0x00000003
          SQLINTEGER 0
odbcad32 1860-2944     EXIT SQLSetEnvAttr with return code 0 (SQL_SUCCESS)
          SQLHENV 009F14E8
          SQLINTEGER 200 <SQL_ATTR_ODBC_VERSION>
          SQLPOINTER 0x00000003 (BADMEM)
          SQLINTEGER 0
odbcad32 1860-2944     ENTER SQLAllocHandle
          SQLSMALLINT 2 <SQL_HANDLE_DBC>
          SQLHANDLE 009F14E8
          SQLHANDLE * 0007D2BC
odbcad32 1860-2944     EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
          SQLSMALLINT 2 <SQL_HANDLE_DBC>
          SQLHANDLE 009F14E8
          SQLHANDLE * 0x0007D2BC ( 0x009f1590)
odbcad32 1860-2944     ENTER SQLDriverConnectW
          HDBC 009F1590
          HWND 00000000
          WCHAR * 0x4BF78088 [      -3] "******\ 0"
          SWORD -3
          WCHAR * 0x4BF78088
          SWORD 2
          SWORD * 0x00000000
          UWORD 0 <SQL_DRIVER_NOPROMPT>
odbcad32 1860-2944     EXIT SQLDriverConnectW with return code 0 (SQL_SUCCESS)
          HDBC 009F1590
          HWND 00000000
          WCHAR * 0x4BF78088 [      -3] "******\ 0"
          SWORD -3
          WCHAR * 0x4BF78088
          SWORD 2
          SWORD * 0x00000000
          UWORD 0 <SQL_DRIVER_NOPROMPT>
odbcad32 1860-2944     ENTER SQLAllocHandle
          SQLSMALLINT 3 <SQL_HANDLE_STMT>
          SQLHANDLE 009F1590
          SQLHANDLE * 0007D2B8
odbcad32 1860-2944     EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
          SQLSMALLINT 3 <SQL_HANDLE_STMT>
          SQLHANDLE 009F1590
          SQLHANDLE * 0x0007D2B8 ( 0x009f21c8)
odbcad32 1860-2944     ENTER SQLTablesW
          HSTMT 009F21C8
          WCHAR * 0x01336BC8 [      -3] "%\ 0"
          SWORD -3
          WCHAR * 0x01336BCC [      -3] "\ 0"
          SWORD -3
          WCHAR * 0x01336BCC
          SWORD 0
          WCHAR * 0x01336BCC
          SWORD 0
odbcad32 1860-2944     EXIT SQLTablesW with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
          WCHAR * 0x01336BC8 [      -3] "%\ 0"
          SWORD -3
          WCHAR * 0x01336BCC [      -3] "\ 0"
          SWORD -3
          WCHAR * 0x01336BCC
          SWORD 0
          WCHAR * 0x01336BCC
          SWORD 0
odbcad32 1860-2944     ENTER SQLBindCol
          HSTMT 009F21C8
          UWORD 1
          SWORD -8 <SQL_C_WCHAR>
          PTR 0x0007D2CC
          SQLLEN 255
          SQLLEN * 0x0007D2C8
odbcad32 1860-2944     EXIT SQLBindCol with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
          UWORD 1
          SWORD -8 <SQL_C_WCHAR>
          PTR 0x0007D2CC
          SQLLEN 255
          SQLLEN * 0x0007D2C8 (2000326715)
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 100 (SQL_NO_DATA_FOUND)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFreeHandle
          SQLSMALLINT 3 <SQL_HANDLE_STMT>
          SQLHANDLE 009F21C8
odbcad32 1860-2944     EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
          SQLSMALLINT 3 <SQL_HANDLE_STMT>
          SQLHANDLE 009F21C8
odbcad32 1860-2944     ENTER SQLDisconnect
          HDBC 009F1590
odbcad32 1860-2944     EXIT SQLDisconnect with return code 0 (SQL_SUCCESS)
          HDBC 009F1590
odbcad32 1860-2944     ENTER SQLFreeHandle
          SQLSMALLINT 2 <SQL_HANDLE_DBC>
          SQLHANDLE 009F1590
odbcad32 1860-2944     EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
          SQLSMALLINT 2 <SQL_HANDLE_DBC>
          SQLHANDLE 009F1590
odbcad32 1860-2944     ENTER SQLFreeHandle
          SQLSMALLINT 1 <SQL_HANDLE_ENV>
          SQLHANDLE 009F14E8
odbcad32 1860-2944     EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
          SQLSMALLINT 1 <SQL_HANDLE_ENV>
          SQLHANDLE 009F14E8
odbcad32 1860-2944     ENTER SQLAllocHandle
          SQLSMALLINT 1 <SQL_HANDLE_ENV>
          SQLHANDLE 00000000
          SQLHANDLE * 0007CFF8
odbcad32 1860-2944     EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
          SQLSMALLINT 1 <SQL_HANDLE_ENV>
          SQLHANDLE 00000000
          SQLHANDLE * 0x0007CFF8 ( 0x009f14e8)
odbcad32 1860-2944     ENTER SQLSetEnvAttr
          SQLHENV 009F14E8
          SQLINTEGER 200 <SQL_ATTR_ODBC_VERSION>
          SQLPOINTER 0x00000003
          SQLINTEGER 0
odbcad32 1860-2944     EXIT SQLSetEnvAttr with return code 0 (SQL_SUCCESS)
          SQLHENV 009F14E8
          SQLINTEGER 200 <SQL_ATTR_ODBC_VERSION>
          SQLPOINTER 0x00000003 (BADMEM)
          SQLINTEGER 0
odbcad32 1860-2944     ENTER SQLAllocHandle
          SQLSMALLINT 2 <SQL_HANDLE_DBC>
          SQLHANDLE 009F14E8
          SQLHANDLE * 0007CFF4
odbcad32 1860-2944     EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
          SQLSMALLINT 2 <SQL_HANDLE_DBC>
          SQLHANDLE 009F14E8
          SQLHANDLE * 0x0007CFF4 ( 0x009f1590)
odbcad32 1860-2944     ENTER SQLDriverConnectW
          HDBC 009F1590
          HWND 00000000
          WCHAR * 0x4BF78088 [      -3] "******\ 0"
          SWORD -3
          WCHAR * 0x4BF78088
          SWORD 2
          SWORD * 0x00000000
          UWORD 0 <SQL_DRIVER_NOPROMPT>
odbcad32 1860-2944     EXIT SQLDriverConnectW with return code 0 (SQL_SUCCESS)
          HDBC 009F1590
          HWND 00000000
          WCHAR * 0x4BF78088 [      -3] "******\ 0"
          SWORD -3
          WCHAR * 0x4BF78088
          SWORD 2
          SWORD * 0x00000000
          UWORD 0 <SQL_DRIVER_NOPROMPT>
odbcad32 1860-2944     ENTER SQLAllocHandle
          SQLSMALLINT 3 <SQL_HANDLE_STMT>
          SQLHANDLE 009F1590
          SQLHANDLE * 0007CFF0
odbcad32 1860-2944     EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
          SQLSMALLINT 3 <SQL_HANDLE_STMT>
          SQLHANDLE 009F1590
          SQLHANDLE * 0x0007CFF0 ( 0x009f21c8)
odbcad32 1860-2944     ENTER SQLExecDirectW
          HSTMT 009F21C8
          WCHAR * 0x01336BD0 [      -3] "SHOW CHARACTER SET\ 0"
          SDWORD -3
odbcad32 1860-2944     EXIT SQLExecDirectW with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
          WCHAR * 0x01336BD0 [      -3] "SHOW CHARACTER SET\ 0"
          SDWORD -3
odbcad32 1860-2944     ENTER SQLBindCol
          HSTMT 009F21C8
          UWORD 1
          SWORD -8 <SQL_C_WCHAR>
          PTR 0x0007D004
          SQLLEN 255
          SQLLEN * 0x0007D000
odbcad32 1860-2944     EXIT SQLBindCol with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
          UWORD 1
          SWORD -8 <SQL_C_WCHAR>
          PTR 0x0007D004
          SQLLEN 255
          SQLLEN * 0x0007D000 (512124)
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFetch
          HSTMT 009F21C8
odbcad32 1860-2944     EXIT SQLFetch with return code 100 (SQL_NO_DATA_FOUND)
          HSTMT 009F21C8
odbcad32 1860-2944     ENTER SQLFreeHandle
          SQLSMALLINT 3 <SQL_HANDLE_STMT>
          SQLHANDLE 009F21C8
odbcad32 1860-2944     EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
          SQLSMALLINT 3 <SQL_HANDLE_STMT>
          SQLHANDLE 009F21C8
odbcad32 1860-2944     ENTER SQLDisconnect
          HDBC 009F1590
odbcad32 1860-2944     EXIT SQLDisconnect with return code 0 (SQL_SUCCESS)
          HDBC 009F1590
odbcad32 1860-2944     ENTER SQLFreeHandle
          SQLSMALLINT 2 <SQL_HANDLE_DBC>
          SQLHANDLE 009F1590
odbcad32 1860-2944     EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
          SQLSMALLINT 2 <SQL_HANDLE_DBC>
          SQLHANDLE 009F1590
odbcad32 1860-2944     ENTER SQLFreeHandle
          SQLSMALLINT 1 <SQL_HANDLE_ENV>
          SQLHANDLE 009F14E8
odbcad32 1860-2944     EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
          SQLSMALLINT 1 <SQL_HANDLE_ENV>
          SQLHANDLE 009F14E8

Similar Messages

  • Connect Lotus Notes with ODBC driver

    I am trying to figure out connecting SQL Developer with ODBC connection ( set on to ODBC Data Source ) for lotus notes. I am able successfully connect through Excel with that connection. With SQL Developer , its asking for JDBC driver but lotus notes version (R5) what I am using does not support JDBC driver.
    Is there any way to connect using ODBC data source for lotus notes.

    No.
    SQL Developer is a Java based tool and requires JDBC. Theoretically you could use the JDBC-ODBC bridge, but there would be no point. SQL Developer is an Oracle specific development and query tool which allows connection to selected other DBMSs in order to support migration to Oracle. Lotus Notes is not one of the supported systems.
    SQL Developer is NOT a general purpose, multi-DBMS tool.

  • Error connecting to mysql via ODBC

    Hi folks,
    I set up Oracle Database Gateway for ODBC with mysql driver (I tried mysql-connector-odbc-5.1.11-1.x86_64.rpm (currently used and log output shown) and mysql-connector-odbc-5.2.2-1.x86_64.rpm). I am unable to create a connection to the mysql database.
    Here are the parameters:
    Oracle database: 11gR2, AL32UTF8 , Suse SLES11 64 Bit
    Oracle Database Gateway for ODBC: installed on Suse SLES10, 64 Bit
    ODBC DSN: ona_nb
    initona_nb.ora in /opt/oracle/product/11.2.0/gtw_odbc/hs/admin:
    # 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=ona_nb
    HS_FDS_TRACE_LEVEL=255
    HS_FDS_SHAREABLE_NAME =/usr/lib64/libmyodbc5.so
    HS_LANGUAGE=AMERICAN_AMERICA.ISO8859P1
    #HS_TRANSACTION_MODEL=READ_ONLY
    #HS_FDS_SQLLEN_INTERPRETATION=32
    # ODBC specific environment variables
    set ODBCINI=/home/oracle/odbc/ona_nb-odbc.ini
    set ODBCINSTINI=/home/oracle/odbc/ona_nb-odbc.ini
    (I tried diffenet Language settings or no language setting at all, slightly different ..../hs/log trace files)
    ODBC file:
    ona_nb-odbc.ini :
    [ODBC Data Sources]
    ona_nb= MySQL ODBC Driver 5.2.2-1
    [ona_nb]
    Driver = /usr/lib64/libmyodbc5.so
    DATABASE = ona_default
    DESCRIPTION = MySQL Verbindung zur ona V11 Datenbank auf Christians Notebook
    PORT = 3306
    SERVER = cwolbert.gsi.de
    UID = oreader
    PWD = xxxxxx
    [ODBC]
    TRACEFILE = /tmp/mysql-odbc-ona_nb.trc
    TRACE = Yes
    ForceTrace = Yes
    set LD_LIBRARY_PATH=/usr/lib64:/opt/oracle/product/11.2.0/gtw_odbc/
    Listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/product/11.2.0/dbhome_3)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = gridrep.gsi.de)
    (ORACLE_HOME = /opt/oracle/product/11.2.0/dbhome_3)
    (SID_NAME = gridrep)
    (SID_DESC=
    (SID_NAME=ona_nb)
    (ORACLE_HOME=/opt/oracle/product/11.2.0/gtw_odbc)
    (PROGRAM=dg4odbc)
    (ENVS=LD_LIBRARY_PATH=/usr/lib64:/opt/oracle/product/11.2.0/gtw_odbc/lib)
    Trying
    select * from locations@ona_nb
    whre ona_nb is the dblink
    CREATE DATABASE LINK "ONA_NB.GSI.DE"
    CONNECT TO OREADER
    IDENTIFIED BY <PWD>
    USING 'ona_nb';
    I get the error
    ORA-28511: RPC-Verbindung zu heterogenem Remote Agent mit SID=ORA-28511: RPC-Verbindung zu heterogenem Remote Agent mit SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pcora11.gsi.de)(PORT=1521))(CONNECT_DATA=(SID=ona_nb))) abgebrochen abgebrochen
    ORA-02063: vorherige line von ONA_NB
    and here is the trace file from hs/log. I am unable to create any ODBC trace file, fiddling around with differnt settings
    Oracle Corporation --- FRIDAY NOV 23 2012 15:37:21.114
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- FRIDAY NOV 23 2012 15:37:21.113
    Version 11.2.0.1.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 "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"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    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 "ona_nb"
    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:ona_nb
    Exiting hgogprd, rc=0
    hostmstr: 0: HOA After hoagprd
    hostmstr: 0: HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=873
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2012/11/23-15:37:21
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libmyodbc5.so"
    Entered hgolofns at 2012/11/23-15:37:21
    libname=/usr/lib64/libmyodbc5.so, funcname=SQLAllocHandle
    symbol_peflctx=0xaab3f456
    hoaerr:0
    Exiting hgolofns at 2012/11/23-15:37:21
    Entered hgolofns at 2012/11/23-15:37:21
    libname=/usr/lib64/libmyodbc5.so, funcname=SQLBindCol
    symbol_peflctx=0xaab44ce3
    hoaerr:0
    Exiting hgolofns at 2012/11/23-15:37:21
    Entered hgolofns at 2012/11/23-15:37:21
    libname=/usr/lib64/libmyodbc5.so, funcname=SQLBindParameter
    symbol_peflctx=0xaab4342c
    hoaerr:0
    Exiting hgolofns at 2012/11/23-15:37:21
    Entered hgolofns at 2012/11/23-15:37:21
    libname=/usr/lib64/libmyodbc5.so, funcname=SQLCancel
    symbol_peflctx=0xaab3e6e5
    hoaerr:0
    Exiting hgolofns at 2012/11/23-15:37:21
    Entered hgolofns at 2012/11/23-15:37:21
    libname=/usr/lib64/libmyodbc5.so, funcname=SQLDescribeParam
    symbol_peflctx=0xaab4346b
    .... many similar stuff
    Exiting hgolofns at 2012/11/23-15:37:21
    Entered hgolofns at 2012/11/23-15:37:21
    libname=/usr/lib64/libmyodbc5.so, funcname=SQLStatisticsW
    symbol_peflctx=0xaab477de
    hoaerr:0
    Exiting hgolofns at 2012/11/23-15:37:21
    Entered hgolofns at 2012/11/23-15:37:21
    libname=/usr/lib64/libmyodbc5.so, funcname=SQLTablesW
    symbol_peflctx=0xaab47a16
    hoaerr:0
    Exiting hgolofns at 2012/11/23-15:37:21
    Exiting hgolofn, rc=0 at 2012/11/23-15:37:21
    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 2012/11/23-15:37:21
    hostmstr: 0: HOA After hoainit
    hostmstr: 0: HOA Before hoalgon
    Entered hgolgon at 2012/11/23-15:37:21
    reco:0, name:OREADER, tflag:0
    Entered hgosuec at 2012/11/23-15:37:21
    Exiting hgosuec, rc=0 at 2012/11/23-15:37:21
    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 OREADER as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2012/11/23-15:37:21
    HS_FDS_CONNECT_INFO = "ona_nb"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2012/11/23-15:37:21
    dsn:ona_nb, name:OREADER
    optn:
    Entered hgocip at 2012/11/23-15:37:21
    dsn:ona_nb
    Exiting hgocip, rc=0 at 2012/11/23-15:37:21
    ##>Connect Parameters (len=33)<##
    ## DSN=ona_nb;
    #! UID=OREADER;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2012/11/23-15:37:21
    Entered hgopoer at 2012/11/23-15:37:21
    hgopoer, line 233: got native error 0 and sqlstate H; message follows...
    Exiting hgopoer, rc=0 at 2012/11/23-15:37:21
    hgocont, line 2752: calling SqlDriverConnect got sqlstate H
    Using no HS_LANGUAGE or HS_LANGUAGE=AMERICAN_AMERICA.AL32UTF8
    I still get the same error meassages and logs.
    Can you help please?
    Cheers Michael

    Hi Klaus,
    I think the unixODBC driver manager is installed
    I have:
    oracle@pcora11:/opt/oracle/product/11.2.0/gtw_odbc/hs/log> odbcinst -j
    unixODBC 2.2.11
    DRIVERS............: /etc/unixODBC/odbcinst.ini
    SYSTEM DATA SOURCES: /etc/unixODBC/odbc.ini
    USER DATA SOURCES..: /home/oracle/.odbc.ini
    and
    cat /etc/unixODBC/odbcinst.ini
    [MySQL ODBC 5.1 Driver]
    Driver = /usr/lib64/libmyodbc5.so
    UsageCount = 1
    but the two file for SYSTEM and USER DSN are empty.
    I tried now:
    HS_FDS_SHAREABLE_NAME =/usr/lib64/libodbc.so
    and
    HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
    and the result is still the same, what I posted in the prevoius answer to Mike,
    ORA-28500: Verbindung von ORACLE zu Fremdsystem gab diese Nachricht zur³ck:
    [unixODBC][MySQL][ODBC 5.1 Driver]Access denied for user
    'OREADER'@'pcora11.gsi.de' (using password: YES) {HY000,NativeErr = 1045}
    ORA-02063: vorherige 2 lines von ONA_NB
    and in the trace file:
    ##>Connect Parameters (len=33)<##
    ## DSN=ona_nb;
    #! UID=OREADER;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2012/11/26-13:25:50
    Entered hgopoer at 2012/11/26-13:25:50
    hgopoer, line 233: got native error 1045 and sqlstate HY000; message follows...
    [unixODBC][MySQL][ODBC 5.1 Driver]Access denied for user 'OREADER'@'pcora11.gsi.de' (using password: YES) {HY000,NativeErr = 1045}
    Exiting hgopoer, rc=0 at 2012/11/26-13:25:50
    hgocont, line 2752: calling SqlDriverConnect got sqlstate HY000
    Exiting hgocont, rc=28500 at 2012/11/26-13:25:50 with error ptr FILE:hgocont.c LINE:2772 FUNCTION:hgocont() ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2012/11/26-13:25:50 with error ptr FILE:hgolgon.c LINE:781 FUNCTION:hgolgon() ID:Calling hgocont
    hostmstr: 0: HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr: 0: RPC Before Exit Agent
    hostmstr: 0: HOA Before hoaexit
    Entered hgoexit at 2012/11/26-13:25:50
    Exiting hgoexit, rc=0
    hostmstr: 0: HOA After hoaexit
    hostmstr: 0: RPC After Exit Agent
    Even if I copy the content of ona_nb-odbc.ini file to /etc/unixODBC/obc.ini
    I still get the same error.
    Any ideas?
    Michael

  • Heterogeneous Connectivity to Mysql

    Hi Fellows.
    I need to connect to a Mysql Database online from Oracle 10G (Create a link) I read some article regarding Heterogeneous Connectivity to other non Oracle Databases without ODBC or DNS. Does anybody has deploy this Oracle feature???? Does Oracle 10G has another choice to connect to other relational databases............If somebody has information to connect to Mysql Database wil be great!!!!
    Thanks a lot.!!!!
    Emmanuel.

    I'm still really confused by why you're talking about DNS. DNS is just a mechanism for resolving host names into IP addresses and that happens only at connection time and only if you have specified a host name.
    Yes, normally ODBC is not the most efficient API in the world-- it was designed as a least common denominator API and designed with SQL Server in mind. That said, if you want to use Heterogeneous Services, you would either need ODBC, OLE DB, or a Transparent Gateway. If you are under time constraints, I'm going to wager that you don't have the time and budget to go out an purchase a Transparent Gateway. So you'd either have to use ODBC or OLE DB. I do not know if there is a MySQL OLE DB provider that runs on SUSE-- I would tend to doubt it. Which leaves just ODBC, assuming you've got a MySQL ODBC driver that runs on SUSE.
    Personally, I've used Generic Connectivity to connect to DB2 and SQL Server databases from an AIX box (using commercial ODBC drivers) and to Excel files from a Windows box. I've never personally connected to a MySQL database, though if you're talking about ODBC connections, it doesn't really matter what database you are connecting to.
    Justin

  • Connection to MySQL via ODBC not working

    Hello all together,
    I've got a problem with the ODBC connection to MySQL. The connection via ODBC is established and things like tnsping are working.
    When I select some data within the SQL*Plus environment, I get no real result. For example "select table_name from all_tables@mysql;" returns nothing.
    My entry in listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=odbc_mysql)
    (ORACLE_HOME=D:\oracle\product\11.0.1\db_1)
    (PROGRAM=dg4odbc)
    My entry in tnsnames.ora:
    MYSQL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA = (SID=odbc_mysql))
    (HS=OK)
    The initodbc_mysql.ora in ORACLE_HOME/hs/admin/:
    HS_FDS_CONNECT_INFO = odbc_mysql
    HS_AUTOREGISTER = TRUE
    HS_DB_NAME = hsodbc
    I tried some modifications but I still get no data from mysql database. When I try "select * from customer@mysql;" I get the correct number of records, the correct column names, but the content is always "¬¬¬¬". The odbc driver works, because with MS Access I can fetch the data. I'm using Oracle 11g Release 1 EE and MySQL ODBC 5.1.5.
    What could be the reason for this?
    Greetings,
    Joerg

    created in my UTF-8 Mysql DB your table and inserted a record; the select shows:
    SQL> select * from "movieclass"@mysql;
    idClass
    ClassName
    123
    H e l l o
    As you can see the content is there, the "space" between the letters is related to unicode. Each character is interpreted by 2 bytes and SQL*Plus wrongly displays both. Using iSQLPLus or SQLDeveloper does not show the "space" between the letters.
    Here the data type mapping:
    SQL> desc "movieclass"@mysql;
    Name Null? Type
    idClass NUMBER(3)
    ClassName NOT NULL NVARCHAR2(50)
    What's the exact version of DG4ODBC you're using? 11.1.0.7?
    According to the listener file you're using DG4ODBC on Windows. There was a high/low byte issue in DG4ODBC for Windows. This issue is fixed in 11.1.0.7 and a certain patch. So I recommend you to get first the 11.1.0.7 patchset (if you don't already have it installed):
    6890831 Oracle Database Family: Patchset
    11.1.0.7.0 PATCH SET FOR ORACLE DATABASE SERVER 11.1.0.7.0
    and then please apply also the latest patch:
    8689191 Oracle Database Family: Patch
    ORACLE 11G 11.1.0.7 PATCH 16 BUG FOR WINDOWS 32 BIT 11.1.0.7.0
    There was a high/low byte issue
    Edited by: kgronau on Aug 11, 2009 10:28 AM

  • Connection of Mysql with visual web developer 2010 using visual basic

    Aslam o Alaikum friends,
    i want to connect my asp.net website with mysql database. i have successfully installed mysql and mysql connector 6.3.6
    but i don't know how to connect my website with mysql database 
    please anyone can help me

    Hello,
    This should be asked in Microsoft's ASP.Net forums:
    http://forums.asp.net/
    As Microsoft's ASP.Net forums are on a different platform, we cannot move the question for you.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Can Dreamweaver CS5 connect to MySQL via ODBC?

    I am unable to make a direct connection to an external MySQL database because most hosting provider does not allow this type of connection due to security reasons. I am however able to make an ODBC connection to the database (which I am currently using to connect filemaker to our MySQL database).
    How can I tell Dreamweaver CS5 to connect via the ODBC driver so I can see the MySQL content in my Dreamweaver project?
    I am on a Mac running OS X 10.6.4.

    GeorgeRudd wrote:
    How can I tell Dreamweaver CS5 to connect via the ODBC driver so I can see the MySQL content in my Dreamweaver project?
    You can't - at least not if you want to use Dreamweaver's server behaviors. Dreamweaver uses the original PHP MySQL extension. If you want to connect in any other way, you need to hand code everything yourself.
    On the other hand, if you want to see the contents of your remote database in Dreamweaver, define your remote server as the testing server. Dreamweaver uploads a hidden folder to the remote server to connect to the database. Because the script is on your remote server, it's local to the MySQL database, so gets round the security issue. It then sends the details to your local computer.
    A better solution, though, is to establish a local testing environment. It's more responsive and much more secure. http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html.
    By the way, the failure to get a reply is due, in part, to posting your question in the wrong forum. The forum for issues related to PHP/MySQL and other server-side technologies is http://forums.adobe.com/community/dreamweaver/dreamweaver_development.

  • Connecting to MySQL with JDeveloper

    Hi,
    I built a small test projcet, based on default (Struts) technology with JDeveloper and MySQL. I configured the project to work with MySql connector, and when I test the connection I craeted it works fine, and the same is true when I test the model projcet by selectig TEST on the applicaton module pop up manue. However, when I try to run the view-controler project, uix DataPage I bulit, I get the follwing error message: Error initializing data-source 'jdbc/MySQL-orderentryCoreDS': DriverManagerDataSource driver 'com.mysql.jdbc.Driver' not found.
    Can anyone help?
    Thanks
    Uri Baruch

    Uri,
    A couple of articles that might help you setup your environment:
    http://www.developer.com/db/article.php/3492406
    and
    http://otn.oracle.com/products/jdev/howtos/10g/MySql/MySQL_and_BC_HowTo.html

  • Connecting to Teradata with ODBC

    Hi,
    Has anyone work with Teradata with Oracle ODBC?
    Thanks,
    Mustafa

    Oracle's ODBC driver is only appropriate for connecting to an Oracle database. If you need to establish and ODBC connection to a Teradata database, you would need to get a Teradata ODBC driver.
    Justin

  • Connecting to MySQL with JDBC in Reports

    Hi,
    I need help connecting to a MySQL db through oracle reports using a jdbc connection.
    I have downloaded the MySQL JDBC driver:mysql-connector-java-3.0.17-ga-bin.jar.
    I can succesfully use it to connect if I write a simple java program. So I know the driver works.
    I have set it in my classpath & edited the jdbcpds.conf file by adding the following:
    <driver name = "mysql-merant"
    sourceDatabase = "other"
    subProtocol = "mysql"
    connectString = "mainProtocol:subProtocol://databaseName"
    class = "com.mysql.jdbc.Driver"
    connection = "oracle.reports.plugin.datasource.jdbcpds.JDBCConnectionHandling">
    </driver>
    When I try to connect, I get the following error, ERR 62002 failed to connect to the data source.
    What do I have to do to connect? Is there a way to directly give the connect string?
    I can connect to an oracle DB using a the Oracle drivers no problem, why does forms not accept the MySQL driver? What can I do to make this work?
    Any help would be appreciated.
    Michael Baran
    [email protected]

    Michael,
    there is a Reports forum here on OTN as well. Posting your question there might be a better chance.
    Frank

  • OpenOffice Base - MySQL with JDBC connection

    I was using MySQL with ODBC connection, but cannot do all MySQL queries. In OO Forum says dev version does with JDBC.
    http://www.oooforum.org/forum/viewtopic.phtml?t=41301
    I am now using OpenOffice dev version. I am a bit lost when asked to install MySQL JDBC Driver Class:
    com.mysql.jdbc.Driver
    Is the driver a part of jre package or to be installed from somewhere?

    I downloaded, but don't know where and how to install or use it. Took a look at the documentation, seems it requires only to untar but something has to be pointed. I think its something simple but I am overlooking.
    EDIT
    This thread tells how to do...
    http://www.oooforum.org/forum/viewtopic.phtml?t=33199

  • How to Connect to Mysql databse from Java Studio Enterprise 8

    Hello everybody,
    I have a database in mysql in linux.I have downloaded Java Studio Enterprise 8.
    How is it possible to connect to mysql.
    Could you tell the procedure .., I would be really thankfull
    From
    Ranjitha Rao

    hi
    u can connect to Mysql with the following code
    Class.forName("com.mysql.jdbc.Driver");
                   String url1 = "jdbc:mysql://localhost/<database name>";
                   String user1 = "root";
                   String pass1 = "";
                   Connection con1=DriverManager.getConnection(url1, user1, pass1);

  • Can't connect to MySQL

    Hi all:
    I've set up a LAMP (Linux-Apache-MySQL-PHP of course) server
    and I'm getting the good old unidentified error when trying to
    connect. The Adobe technote gives a number of seemingly ambiguous
    reasons why this can happen. Has anyone else encountered this
    problem and if so what is the most common cause? I have a user set
    up for Dreamweaver in the MySQL database and I can connect wtih an
    admin program from the same computer. The error occurs just as I
    click test on the add connection dialog. I can supply more info but
    I'm so new at this I don't even know what's important. Any help
    would be greatly appreciated.
    Thanks!
    Ken Ha Quad

    IfyO wrote:
    > I begin to wonder if the makers of Dreamweaver8 intended
    to give
    > us all a Jigsaw puzzle.
    No, the makers of Dreamweaver give you software that works
    correctly
    with a properly configured setup.
    > How can Adobe sit bag and let us keep going through this
    stress?
    I agree that the setup documentation could be clearer, but
    most of the
    problems that I've encountered are the result of incorrect
    installation
    of PHP/MySQL. That's not Adobe's responsibility. The other
    main source
    of problems is failure to define a testing server correctly
    in the
    Dreamweaver site setup.
    > Following your suggestion, how does one determine a more
    uptodate library when
    > you have just installed the latest version of
    Dreamweaver 8 and EasyPHPserver?
    Dreamweaver 8 relies on a correctly configured installation
    of PHP and
    MySQL. It installs nothing that affects the performance of
    PHP or MySQL.
    Part of your problem may lie in using EasyPHP. I've just
    visited the
    EasyPHP site, and see that the latest version of EasyPHP uses
    PHP
    4.3.10, MySQL 4.1.9, and phpMyAdmin 2.6.1. The latest "real"
    versions
    are PHP 5.1.4, MySQL 5.0.22, and phpMyAdmin 2.8.
    There is a warning in the PHP manual that none of the
    "all-in-one"
    packages are endorsed by php.net. The fact that EasyPHP can't
    be
    bothered to update to more recent versions is one reason you
    shouldn't
    rely on such packages.
    > You still keep getting the error message that it cannot
    find MMHTTPDB which is
    > sitting clearly in the appropriate folders!!
    If it were sitting in the appropriate folder, Dreamweaver
    would find it.
    It sounds as though you haven't defined your testing server
    correctly.
    To start off with, the site files must be in the Apache
    server root. In
    the testing server definition, enter the location of the
    files in
    testing server folder, and the correct URL in URL prefix.
    On my setup, the Apache server root is C:\htdocs. So the
    correct
    settings for a site called "mysite" is as follows:
    Server model: PHP MySQL
    Access: Local/network
    Testing server folder: C:\htdocs\mysite\
    URL prefix:
    http://localhost/mysite/
    However, you may still have problems connecting to MySQL with
    EasyPHP,
    because it uses PHP 4.3 in combination with MySQL 4.1. You
    may need to
    set up your MySQL passwords using the OLD_PASSWORD protocol:
    http://dev.mysql.com/doc/refman/5.0/en/old-client.html
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • Connecting Oracle 11g with MySQL 5.1

    Hey all,
    I've been looking all over the web for this, and I can't find any information that applies to my case. I have an Oracle 11g DB setup on a Windows Server 2003 SP2, and have installed the Heterogeneous services ODBC driver. I want to connect this to another Windows 2003 SP2 machine that runs MySQL Community.
    On the Oracle side, I have configured the ODBC Systems connection to MySQL, and it connects successfully. I have also configured tnsnames.ora as follows:
    mysqlecommerce=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=dvlps11.cosine.com.cy)
    (PORT=1521)
    (CONNECT_DATA=
    (SID=mysql_gateway))
    (HS=OK))
    I have initmysql_gateway.ora with the following two lines:
    HS_FDS_CONNECT_INFO = mysqlecommerce
    HS_FDS_TRACE_LEVEL = ODBC
    and I have included the following into the listener.ora file:
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=mysql_gateway)
    (ORACLE_HOME=C:\Oracle11g\product\11.1.0\db_1)
    (PROGRAM=dg4odbc)
    I have also created a dblink as follows:
    create public database link "MYSQLECOMMERCE"
    connect to MYSQLDB
    identified by "<pwd>"
    using 'mysqlecommerce';
    Now when I try to run a simple SQL selection such as:
    select "id_category" from "ps_category"@mysqlecommerce
    I get the following reply:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [MySQL][ODBC 5.1 Driver][mysqld-5.1.36-community-log]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 '"id_category" FROM "ps_category" A1' at line 1
    ORA-02063: preceding 2 lines from DG4ODBC
    Can anyone please help me understand what is going on?
    Thank you in advance!

    The syntax error is caused by your MySQL database not running in ANSI mode. By default DG4ODBC sends ansi compliant code to the foreign database and this means for case sensitive column and table names it surrounds them by double quotes. MySQL db not running in ANSI compliant mode rejects them and uses a back tick to preserver the case - thus it reports a syntax error in case of double qoutes.
    To solve the issue please have a look at My Oracle Support note:
    Problems Selecting Mysql Data Using 11.1.0.6 DG4ODBC - Error In Your SQL Syntax [ID 553030.1]

  • Adobe LiveCycle Designer ES Error while Connecting to MYSQL ODBC Driver

    Hi
    I'm getting an strange error message when i try to connect a LC PDF form to
    MYSQL DB using MySQL Connector /ODBC 3.51 Driver
    Here is the complete detail how i was trying to build a connection
    string :-
    I Opened a form in Adobe LiveCycle Designer ES2 Ver.9.0.0
    Clicked on Data View Pallete --> New Data Connection --> selected OLEDB Database radio button --> Build a Connection string (clicked on build button) --> selected MS OLE DB Provider for ODBC Drivers (the default selected option ) --> clicked on Next >> button --> Use connection string (radio button) --> Build connection string on clicking Build button --> Select Data Source windows opens --> Clicked on Machine Data Source tab --> created a new data source (with User Data Source) --> Selected the MySQL ODBC Driver (MySQL ODBC 3.51 Driver) --> Clicked on next button and then Finish
    A Connector/ ODBC 3.51.28 - Add Data Source Name window opens up which have the DSN connection details (DSN Name , Server , user , password , database).
    I put all the default details
    After this i got a error message saying that
    Adobe LiveCycle Designer ES has encountered a problem and needs to
    close. we are sorry for the inconvenience
    I tried this number of time and was getting this error message every
    time i try to put the DSN Detail and trying to connect to the DB. This
    was really irritating.
    Can somebody's what's the Issue . Is this a Resource Conflict or
    something else
    P.S :- I am using Adobe LiveCycle Designer ES2 Ver.9.0.0 with Windows XP and MySQL
    Connector /ODBC 3.51 and the DB Connection is working good for MS
    Access( though i don't need MySQL Connector fot this ).
    Any Help would be highly appreciated
    Thanks Alok

    Hi
    I'm getting an strange error message when i try to connect a LC PDF form to
    MYSQL DB using MySQL Connector /ODBC 3.51 Driver
    Here is the complete detail how i was trying to build a connection
    string :-
    I Opened a form in Adobe LiveCycle Designer ES2 Ver.9.0.0
    Clicked on Data View Pallete --> New Data Connection --> selected OLEDB Database radio button --> Build a Connection string (clicked on build button) --> selected MS OLE DB Provider for ODBC Drivers (the default selected option ) --> clicked on Next >> button --> Use connection string (radio button) --> Build connection string on clicking Build button --> Select Data Source windows opens --> Clicked on Machine Data Source tab --> created a new data source (with User Data Source) --> Selected the MySQL ODBC Driver (MySQL ODBC 3.51 Driver) --> Clicked on next button and then Finish
    A Connector/ ODBC 3.51.28 - Add Data Source Name window opens up which have the DSN connection details (DSN Name , Server , user , password , database).
    I put all the default details
    After this i got a error message saying that
    Adobe LiveCycle Designer ES has encountered a problem and needs to
    close. we are sorry for the inconvenience
    I tried this number of time and was getting this error message every
    time i try to put the DSN Detail and trying to connect to the DB. This
    was really irritating.
    Can somebody's what's the Issue . Is this a Resource Conflict or
    something else
    P.S :- I am using Adobe LiveCycle Designer ES2 Ver.9.0.0 with Windows XP and MySQL
    Connector /ODBC 3.51 and the DB Connection is working good for MS
    Access( though i don't need MySQL Connector fot this ).
    Any Help would be highly appreciated
    Thanks Alok

Maybe you are looking for

  • Centre text and image side by side.

    Hi, I was able to centre two images side by side fine with my old website page but once I changed one of the images into text I cant seem to align them side by side anymore. Old (image next to image): http://dkphotos.net/About/About.html New (text ne

  • Upgrade to OS 7, can't open pdf files in safari.

    Since updating ipad to OS 7 I can't open any pdf links in safari, just get a blank page. It's working fine on my iphone which also has OS 7. Have tried everything but now totally perplexed, anyone got an answer?

  • Not able to send files to my Mac via bluetooth.

    Hey i have mac os x 10.5, i am not able to sen files to my mac from my blackberry 8520. I have paired my bb and mac but when i try to send files from my bb it says "Failed to find service". Please help. Thanks.

  • Calculate % of answers across all records in a list

    I have a list that gathers information from users. I want to calculate the percentage of a given answer across all records. To keep things simple, consider the following example. A list called "Shirts" contains 3 choice fields: 1) Color: with choice

  • Do you want to allow changes from firefox software updater every time I attempt to connect to the internet

    Every time I attempt to connect to the internet I get a dialogue box that asks do you want to allow this programme to make changes? The publisher is Mozilla, and it also tells me that it relates to Firefox software updater. Never had this until about