Link to database for MySQL with Oracle Express

Hello Oracle Community,

I made a post on this topic already in the section general, but here is the best place for my question. My goal is to access a mysql to oracle server. Some info about my system and what I've done so far:

Windows Vista 64-bit
Oracle Express 10.2

-installed 32-bit DNS ODBC driver for the database mysql, tested and it succeeded, the name is CHANCE
-created a new file in the folder admin/hs initLuck.ora, prameters are: HS_FDS_CONNECT_INFO = CHANCE HS_FDS_TRACE_LEVEL = OFF
-new section in the listener.ora: (SID_DESC = (SID_NAME = CHANCE) (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server) (PROGRAM = hsodbc))
-new section in my tnsnames.ora: CHANCE = (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = GOGAPC01001)(PORT = 1521)) (CONNECT_DATA = (SID = CHANCE)) (HS = OK))
-inexplicable the listener
-Do a bit of luck, success of tnsping
-created a link of database: CREATE DATABASE LINK LUCK24 CONNECT TO 'user' IDENTIFIED BY 'password' USING 'LUCK24 ';
-tried to do a simple select statement: SELECT COUNT (*) FROM customers@LUCK;

and there I get an error message:

ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
[Generic connectivity using ODBC] [Microsoft] [ODBC driver manager] Der Datenquellenname wurde nicht found, und're wurde kein Standardtreiber angegeben (SQL State: IM002;) SQL Code: 0)
ORA-02063: preceding 2 lines of LUCK24

can anyone help?

Ikrischer

Ikrischer,
On which platform do you have installed the drivers 32 bit and HSODBC? He was on a Windows 32-bit platform? It is not supported to run the 32-bit software on a Windows 64-bit platform.
There were some problems with versions 10.2.0.3 and earlier that are similar to those you typo - problems with bigint and select count. These are laid down in the 10.2.0.4 group of patches, so you should apply to your ORACLE_HOME 10.2 directories and see if the problem still occurs.
However, as already said HSODBC 10.2 is now desupported you need to find to install 11.1.0.6 DG4ODBC and then apply the 11.1.0.7 patch group which also solves the problem.
If you have access to My Oracle Support then see this note.

Select columns MySQL Bigint use HSODBC returns an incorrect value when you use ODBC MySQL Connector (Doc ID 401086.1)

Kind regards
Mike

Tags: Database

Similar Questions

  • Apex 3.2 with oracle express

    Hello

    Can I use Apex 3.2 with Oracle Express edition Oracle XE without paying money and without violating the liscence agreement?

    concerning
    Hrishy

    As Obama said: Yes you can!

  • link to database to mySQL

    Hello world

    I'm trying to create a link to my oracle DB to a mySQL DB database. Now I can't start the listener "gtw_listener" with "lsnrctl start gtw_listener '.

    Error message:

    "- 12560 TNS: TNS:protocol adapter error.

    "00530 TNS: Protocol adapter error".

    Can anyone help?

    Oracle DB Version: Oracle Database 11g 11.2.0.1.0 64 bit Production

    OS version: Windows 7 SP1 64 bit

    These are my files listener.ora and tnsnames.ora, inittest.ora mySQL - test.ini:

    ---------------------------------------------

    listener.ora # Network Configuration file: C:\product\11.2.0\tg_2\network\admin\listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_GTW_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (ORACLE_HOME = C:\product\11.2.0\tg_2)

    (SID_NAME = test)

    (PROGRAM = dg4odbc)

    )

    )

    GTW_LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST = hostname))

    )

    )

    ADR_BASE_MYSQL = C:\product\11.2.0\tg_2

    ---------------------------------------------

    tnsnames.ora # Network Configuration file: C:\product\11.2.0\tg_2\network\admin\tnsnames.ora

    # Generated by Oracle configuration tools.

    test = (DESCRIPTION =

    (ADDRESS = (PROTOCOL = tcp)

    (HOST = hostname)

    (PORT = 1522)

    )

    (CONNECT_DATA = (SID = test)

    )

    (HS = OK)

    )

    ---------------------------------------------

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

    # necessary for the database to ODBC gateway

    # REMARK: Name of the DSN muss yesterday angegeben werden

    HS_FDS_CONNECT_INFO = test

    HS_FDS_TRACE_LEVEL = 0

    HS_FDS_SHAREABLE_NAME = C:\Program Files\MySQL\Connector 5.2\myodbc5w.dll ODBC

    HS_LANGUAGE = GERMAN_GERMANY. WE8ISO8859P15

    #

    # ODBC specific environment variables

    #

    # REMARK: Path name ggf muss und. angepaßt werden.

    Set ODBCINI=C:\product\11.2.0\tg_2\hs\admin\mySQLtest.ini

    #

    # Required for the non-Oracle system environment variables

    #

    #set HOME=C:\product\11.2.0\tg_2

    ---------------------------------------------

    [ODBC data sources]

    test = MySQL ODBC Driver 5.2 (32 bit)

    [test]

    Driver = C:\Program Files\MySQL\Connector ODBC 5.2\myodbc5w.dll

    DATABASE = mySQL_DB_name

    DESCRIPTION = connection to mysql db

    PORT = 3306

    SERVER = ip to the mysql server

    UID = username

    PWD = pw

    CHARSET = utf8

    TRACE = OFF

    Add a space to each line in the section your listener SID - only the GTW_LISTENER and the SID_LIST_GTW_LISTENER are valid commands to start at the first position in the file.

    For more, please remove this line in your file init Bridge: HS_FDS_SHAREABLE_NAME = C:\Program Files\MySQL\Connector ODBC 5.2\myodbc5w.dll

    HS_FDS_SHAREABLE_NAME is used in Unix to specify the ODBC driver manager - you're on Windows where can I ship a manager of valid ODBC drivers you don't need to specify this parameter.manager. For more, please remove the ODBCINI set setting as the Windows ODBC driver manager uses the registry. So make sure that you have created a system ODBC 64-bit DSN using the 64-bit MySQL ODBC driver (it must be the 64-bit ODBC driver you are on a 64-bit Windows using a 64-bit DG4ODBC)

    -Klaus

  • Create schemas for data warehouse for Reporting with Oracle XE

    It is possible to import home charger with the Oracle XE database and dw?

    I get this error ORA-00439: feature not enabled not: progress of replication in the log of the CIM.

    I saw that the database, we do not have have the feature "advanced replication."

    SQL> select * from v $ option where parameter = 'Advanced replication';
    
    
    PARAMETER
    -------------------------------------------------- --------------
    VALUE
    -------------------------------------------------- --------------
    advanced replication
    FALSE
    
    
    

    Journal of the CIM:

    Mon Feb 23 14:16 BRT 2015 1424711760686 atg.cim.database.dbsetup.CimDBJobManager module of high level of information for Reporting data warehouse Datasource list page: domain controllers. DW, ARF. DW.base, ARF. DW. InternalUsers, Store.Storefront

    Info my Feb 23 14:16:05 BRT 2015 1424711765012 atg.cim.database.dbsetup.CimDBJobManager 0 0 imports has not been executed.

    Info my Feb 23 14:16:05 BRT 2015 1424711765192 atg.cim.database.dbsetup.CimDBJobManager list of module level for Datasource Reporting charger: DafEar.Admin, DCS. DW, DCS. PublishingAgent, ARF.base, Store.EStore, Store.EStore.International

    Info my Feb 23 14:16:05 BRT 2015 1424711765733 atg.cim.database.dbsetup.CimDBJobManager 1 1 imports has not been executed.

    Info my Feb 23 14:16:05 BRT 2015 1424711765953 atg.cim.database.dbsetup.CimDBJobManager list of top level for Datasource Publishing module: DCS - UI. Versioned, BIZUI, PubPortlet, DafEar.admin, DCS - UI. SiteAdmin.Versioned, SiteAdmin.Versioned, DCS. Versioned, DCS - UI, Store.EStore.Versioned, Store.Storefront, DAF. Endeca.Index.Versioned, DCS. Endeca.Index.Versioned, ARF.base, DCS. Endeca.Index.SKUIndexing, Store.EStore.International.Versioned, Store.Mobile, Store.Mobile.Versioned, Store.Endeca.International, Store.KnowledgeBase.International, Portal.paf, Store.Storefront

    Info my Feb 23 14:16:11 BRT 2015 1424711771561 atg.cim.database.dbsetup.CimDBJobManager 65 65 imports has not been executed.

    Info my Feb 23 14:16:11 BRT 2015 1424711771722 atg.cim.database.dbsetup.CimDBJobManager list of top level for Datasource Production Core module: Store.EStore.International, DafEar.Admin, DPS, DSS, DCS. PublishingAgent, DCS. AbandonedOrderServices, DAF. Endeca.Index, DCS. Endeca.Index, Store.Endeca.Index, DAF. Endeca.Assembler, ARF.base, PublishingAgent, DCS. Endeca.Index.SKUIndexing,Store.Storefront,Store.EStore.International,Store.Recommendations,Store.Mobile,Store.Endeca.International,Store.Fluoroscope,Store.KnowledgeBase.International,Store.Mobile.Recommendations,Store.Mobile.International,Store.EStore,Store.Recommendations.International

    Info my Feb 23 14:16:12 1424711772473 2015 BRT atg.cim.database.dbsetup.CimDBJobManager 30 30 imports has not been executed.

    Info my Feb 23 14:16:19 BRT 2015 1424711779573 atg.cim.database.dbsetup.CimDBJobManager creating schema to the Reporting data warehouse data source

    Info my Feb 23 14:16:19 BRT 2015 1424711779653 atg.cim.database.dbsetup.CimDBJobManager list of top level for Datasource Reporting data warehouse module: domain controllers. DW, ARF. DW.base, ARF. DW. InternalUsers, Store.Storefront

    Info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager DatabaseTask Create for Module ARF. DW.base, sql/db_components/oracle/arf_ddl.sql

    Info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager DatabaseTask Create for Module ARF. DW.base, sql/db_components/oracle/arf_view_ddl.sql

    Info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager DatabaseTask Create for Module ARF. DW.base, sql/db_components/oracle/arf_init.sql

    Info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager Create DatabaseTask Module domain controller. DW, sql/db_components/oracle/arf_dcs_ddl.sql

    Info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager Create DatabaseTask Module domain controller. DW, sql/db_components/oracle/arf_dcs_view_ddl.sql * info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager Create DatabaseTask Module domain controller. DW, sql/db_components/oracle/arf_dcs_init.sql

    Info my Feb 23 14:16:21 atg.cim.database.dbsetup.CimDBJobManager BRT 2015 1424711781085 found 2 of the 6 unrun previously of tasks for Datasource Reporting data warehouse

    Info my Feb 23 14:16:21 BRT 2015 1424711781085 atg.cim.database.dbsetup.CimDBJobManager 1 ARF. DW.base: sql/db_components/oracle/arf_view_ddl.sql

    Info my Feb 23 14:16:21 atg.cim.database.dbsetup.CimDBJobManager 1424711781085 2015 BRT 2 domain controllers. DW: sql/db_components/oracle/arf_dcs_view_ddl.sql

    Info my Feb 23 14:16:21 BRT 2015 1424711781085/atg/dynamo/dbsetup/job/DatabaseJobManager starting work of setting up data 1424711781085.

    Error my Feb 23 14:16:21 BRT 2015 1424711781516 /atg/dynamo/dbsetup/database/DatabaseOperationManager---java.sql.SQLException: ORA-00439: feature not enabled not: Advanced replication

    is there a solution?

    Hello

    We have not tested and certified with Oracle XE internally

    You must use an Oracle Enterprise Edition for Advanced Replication

    What version of Oracle trade you install, I can't say extract of newspaper, you've posted

    ++++

    Thank you

    Gareth

    Please indicate any update as "Good response" or "Useful answer" If this update help and answers your question, so that others can identify the correct/good update between the many updates.

  • Planning for use with Oracle Incentive Compensation (OIC)

    I've read conflicting reports about agglomerates planning would be available for use to migrate compensation plans (and all other configurations of the OIC) multiple instances of Oracle e-Business applications.

    Does anyone know if R12 (12.04) is capable of managing the migration of the OIC? Is there a documentation as to how you should configure planning for use with the OIC?

    Thanks in advance.

    Hello

    It's Laurence of development planning. The OIC is not covered as part of sets of standard selection delivered by Oracle. You can consider you a SR (product code - 841) for coverage.

    If you already have java program/scripts which migrate from the OIC, then you can plugin with planning. You can also write your own API BC4J for the migration of the configurations of the OIC and register with planning.

    To learn more about writing BC4J planning Fwk APIs, please log an SR.

  • VCSA 5.1 with Oracle Express Edition?

    Hello

    is it possible to use VCSA 5.1 with Oracle XE? Do you have experience with this?

    Thank you

    Pavel

    Sorry, I'm not an expert on Oracle licenses

    This Oracle licensing FAQ can help you out: http://www.orafaq.com/wiki/Oracle_licensing

    I think you could take the Oracle Standard One maybe? Although it is limited to only 2 CPU sockets, so if you ever want more CPU, you will need to purchase another license.

  • For synchronization. with Outlook Express

    Please can someone tell me if it is possible to synchronize my contacts with Outlook Express? Now I'm syncking with Palm Desktop. My PDA is a Palm Zire 72.

    Thank you

    Hello Carving1,

    Unlike Palm OS 5 devices, the Pre and webOS sync directly to your computer.  The Pre and webOS are designed to synchronize with online services.  While I haven't read * all * PRE documentation yet, I've read a fair amount, and Outlook Express is not supported.

    You can learn more about the process to move your existing personal information in the Meadow here:

    http://www.Palm.com/us/support/downloads/pre/migration/index.html

    Hope that answers your questions.

    Alan G

  • Is it possible: use BI Publisher with Oracle Express?

    I'm a new user, trying to learn BI Publisher (standalone).

    I installed Pulisher BI OK. I installed Oracle database Express
    (for Windows) on the same PC with no problem.

    Where/how do I connect / relate the two?
    I would use BEEP with the HR schema.

    Thank you!

    Tried the same thing and Yes operate. Used

    Database driver class: oracle.jdbc.OracleDriver
    Connection string: jdbc:oracle:thin:@localhost:1521:XE

    Hope that helps.

  • Database upgrade fails with Oracle 10.2.0.4 4.0 to 4.1

    Hi all!

    Because we must go 32-bit operating system to 64-bit for the new vcenter Server, I did a complete reinstall of the server today (keeping the database) and went from 2003 SP2 to Windows 2008 R2 x 64. On it is installed the Oracle 64-bit 10.2.0.4, with the 10.2.0.4 client client ODBC (checked as 64-bit, even though she is curiously named sqora32.dll).

    The problem is that the database never upgrade when I try to install vCenter Server 4.1, ends with an 'Exception that is thrown during the execution of sql script. Check the log file, I see that it is process_temptable0_proc_oracle.sql that is causing the error, and when I open the procedure in Oracle enterprise manager, I see that the error is "ORA-12704: incompatibility of character." Given that the database resides on a separate cluster, the old character set is instact. The NLS_LANG to the vCenter server is defined on the same one (corresponding to the database).

    Anyone got any ideas how to proceed from here?

    Thank you

    Anders

    support VMware came with the following kb: http://kb.vmware.com/kb/1026331

    don't forget to back up the database

    I will post my results soon

  • Move the database for VirtualCenter of SQL Express to SQL 2008 on another server

    Hi all

    First of all, I spent some time trying to figure how to move our current VirtualCenter database to our production (currently the DB is stored on the server using SQL Express real VirtualCenter) SQL server. Before any way suggests the obvious, I searched the VMware knowledge base and tried to follow the steps in the following KB:

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 7960893

    I have successfully completed the first 2 steps, but when I see the data source in the ODBC Administrator, I don't see anything (I have connected with each account who has already logged on to this server just in case). To work around this problem, I tried everything simply create a new DSN pointing to the new SQL Server. I even modified registry settings in order to force him to watch the new SQL Server. Despite this, I can not start the VirtualCenter service because it does not connect to the new database. When I reinstall the database local, everything is good.

    I did much research on similar questions, but not once I saw someone mention that no data source was present. I don't know if this was due to an option selected during initial installation or anything else.

    We are currently running version 4.0.0 vCenter. Any help would be amazing!

    Thanks in advance

    Dean

    Is your operating system 64 bit or 32 bit - because it affects the DSN, you see:

    To work around this problem, use the appropriate version of the ODBC Administrator tool. If you build and then run an application as a 32-bit application on a 64 bit system, you must create the ODBC data source using the ODBC Administrator in % windir%\SysWOW64\odbcad32.exe. To indicate the type of DSN, you can add '_32' to the user 32-bit DSN and "_64" to the 64-bit DSN user.

  • Limits for vCenter with SQL Express

    If you use the built in free MS SQL Express with vCenter so often said that it would limit the size of the environment 5 guests and 50 virtual machines. My question is if it is a "hard" limit that controls vcenter or if it's just a risk to run in SQL Express size limit if you use increasingly large amounts of hosts and virtual machines?

    Yes, nothing will stop you, just the limit of size of 4 GB and other normal express limitations as 1 CPU usage only, 1 GB max RAM, etc.

    Just watched a small DB vCenter with 9 manageg ESX and ESXi VM of 50-60. It is 6, 6 GB DB size, just for your information.

    Concerning

  • Operating systems certified for use with Oracle Designer repository

    Hi all

    We have Oracle Designer repository version 10g (9.0.4.3.14) installed on Microsoft Windows 2000. As our team OS and network will migrate the Windows 2000 operating system to Windows 2003, I want to know if Windows 2003 is certified for our designer version or not.

    Thanks in advance.

    Iman

    Hello

    I took a glance on Support Oracle certification the other day and I think it says your client, or close to, was certified on Windows 2003, but not supported. Best for you to double check

  • search for substring with Oracle context index

    Hello

    I would like to know if it is possible to make a substring search with one of the obtion with context indexes offer.
    (ctxcat, ctxrule, context)


    example:

    I want to search for the word "berub" in a column in table_example.

    the value in the column are:

    The betther
    Bérubé
    A.Berube
    berub
    Berub
    BERUB
    Bell R
    S tartif
    Y Thibeault


    the return line must be:

    Bérubé
    A.Berube
    berub
    Berub
    BERUB
    Bell R

    Could be a simple sql

    Select * from table_example, where upper (a) as superior ('% berub %');)

    How can I do the same action with the index of context and select a statement (catsearch, contains, matches), if it is possible?

    An example would be welcome


    Thank you

    I would like to know if it is possible to make a substring search with one of the obtion with context indexes offer.

    Create your own list of words, and add an attribute substring_index to it. And then create the index with the preference just created.

  • Could not create the link of database of the schema of the ORA/APEX

    Hello

    I tried to create the link of database for my schema oracle on my localhost and it brings me an error "database user has sufficient privileges for the proposed operation.". I don't know what the problem is?

    This pattern of localhost was created for APEX.

    Thank you

    I tried to create the link of database for my schema oracle on my localhost and it brings me an error "database user has sufficient privileges for the proposed operation.". I don't know what the problem is?

    This pattern of localhost was created for APEX.

    What is developer Sql has to do with the problem? This forum is ONLY for sql developer questions.

    If this isn't a problem with Sql developer please mark ANSWERED thread and repost it in the general forum of the database

    Database General Discussions

    The exception is you say the problem: the user you are using to create the DB link doesn't have the necessary privileges to create the DB link type you are trying to create. Privileges are required on the source and target databases.

    When repost you, you will need to provide:

    1. your full 4 DB for DBs source and target text segment

    2. a copy OF the sql * plus (or other) session you use to create the DB link

    3. information on the user that you use to create the link DB - including the privileges that have been granted to this ulser

    4 information on the type of link DB you try to create

  • MySQL to Oracle query

    Hello World ^^

    I just downloaded Oracle XE and migrated my database from MySQL to Oracle successfully.
    And I'm doing/reviewing my application now especially the query syntax.
    I am facing a problem, I have a request in the form below in MySQL and it works fine but when I tried it at the Oracle XE database, it cannot run :( So I'm asking for help here, I have already searched on the internet but had no luck.

    SELECT A.INVOICEDATE,
    *@Step1:=cast (adddate (A.INVOICEDATE, A.TERMOFPAYMENT) as date) AS STEP1, *.
    *@Step2:=if (@step1 > CURDATE (), A.TOTALAMOUNT, 0) AS STEP2, *.
    *@step3:=if (@step2 <>0,0,IF(DATEDIFF(CURDATE(),@step1) < = 30, A.TOTALAMOUNT, 0)) AS step 3,
    T_invoice FROM has
    WHERE A.STATUS = 'Open'

    I can conclude the problem is based on the variable declaration in Oracle, but I still can't understand.
    What I do in MySQL, it's that I want to fill the variable with the expression/logic so I can use 'than' variable more later in the other part of the query output syntax.
    I used variables to be filled by value due to I can't use / select ALIAS later in the other party.

    So please help to convert to Oracle query syntax. Thank you.

    Oracle and MySql are two different animals. You need to learn SQL and Oracle's PL/SQL.

    Your SQL

    SELECT A.INVOICEDATE,
    @step1:=cast(ADDDATE(A.INVOICEDATE,A.TERMOFPAYMENT) as date) AS STEP1,
    @step2:=IF(@step1>CURDATE(),A.TOTALAMOUNT,0) AS STEP2,
    @step3:=IF(@step20,0,IF(DATEDIFF(CURDATE(),@step1)<=30,A.TOTALAMOUNT,0)) AS STEP3,
    FROM t_invoice A
    WHERE A.STATUS='Open' 
    

    Can be writern as

    select invoicedate,
           step1,
           step2,
           case when step2 = 0
                then case when sysdate-step1 <=30 then A.TOTALAMOUNT else 0 end
           end AS step3
      from (
             select A.invoicedate,
                    A.invoicedate+A.termofpayment step1,
                    case when (A.invoicedate+A.termofpayment) > sysdate then A.totalamount else 0 end as step2,
               from t_invoice A
              where A.status = 'Open'
           )
    

Maybe you are looking for

  • PROTECTED R100: How to start OS on PCMCIA card

    Long story short: I need to start an operating system (any OS - BACK/LINUX) on my R100 to something other than the HARD drive. Listed in the BIOS boot options are FDD (don't have - not sure if Toshiba even did), CDROM (mine is defective), network (I

  • QUESTION: Two different serial numbers for a device in MAX?

    The camera I use is a 34405A agilent.  It is connected via USB to a windows XP computer.  I was running my software from one day to the next.  When I came back I got an error saying that it could not communicate with the device.  I looked at MAX, and

  • Hello need help for fsx

    Hello im a fan, big fan of wellll x microsoft Flight Simulator, I love it! I watch him all the time! but I have a question in June im getting Flight Simulator x deluxe and im going to get a joystick, this is where the problem is.does need a certain j

  • Error Schannel 36888

    I get this error Schannel 36888 over and over and over and over again. It is listed on the site to help with this. I have no idea what it is, but my computer hangs again and again. I don't know if that's the reason, but it seems to be that the most f

  • Windows easy transfer. I can't use transfer to move files to the new computer

    I used windows easy transfer to back up my files to an external hard drive before doing a clean install of windows 7, XP. I am unable to find any "windows easy transfer" files on the hard drive for transfer to the new computer. ALL the files from my