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

Hi all:

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


When I run:


Select * from test1@mysqltest;

[ERROR]

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

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

ORA-02063: preceding 2 lines of THAONT1. MYSQL

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

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

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

My config

Enterprise Edition of Oracle db:11.2.0.3

OS: Win 7 64 bit

bit ODBC: 64 for the MySQL Connector

MySQL db:5.1.19

ODBC configuration

Capture.PNG

LISTENING PORT. ORA:

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

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

# Generated by Oracle configuration tools.

SID_LIST_LISTENER =

(SID_LIST =

(SID_DESC =

(SID_NAME = CLRExtProc)

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

(= Extproc PROGRAM)

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

)

(SID_DESC =

(SID_NAME = tst)

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

(PROGRAM = dg4odbc)

)

)

LISTENER =

(DESCRIPTION_LIST =

(DESCRIPTION =

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

)

(DESCRIPTION =

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

)

(DESCRIPTION =

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

)

)

ADR_BASE_LISTENER = D:\app\THAONTSE90151

TNSNAMES. ORA:

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

TSTLINK =

(DESCRIPTION =

(ADDRESS_LIST =

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

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

)

(CONNECT_DATA =

(SID = tst)

)

(HS = OK)

)

inittst.ora($ORACLE_HOME/HS/admin)

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

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

# necessary for the database to ODBC gateway

# HS init parameters

#

HS_FDS_CONNECT_INFO = testmysql

HS_FDS_TRACE_LEVEL = off

# Required for the non-Oracle system environment variables

ODBCINI value #= D:\ODBC. INI


the dblink is created between oracle and mysql:

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

SQL > create database public link mysqltest

connect to thaont identified by abc123 using 'TSTLINK ';

SQL > select * from test1@mysqltest;

[ERROR]

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

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

ORA-02063: preceding 2 lines of THAONT1. MYSQL

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

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

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

kindly help.

Thank you and best regards.

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

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

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

-Klaus

Tags: Database

Similar Questions

  • [Microsoft] [ODBC driver manager] Data Source name not found and no driver by default specified

    Hi team,

    I am trying to connect to the Oracle 9i database using VB code below:

    strConnection = "Driver = {Microsoft ODBC for Oracle};" Server = SERVERNAME; UID = username; Pwd = PASSWORD"
    Connect = New ADODB. Connection
    Connect.Open (strConnection)

    The last line throws me below error:

    [Microsoft] [ODBC driver manager] Data Source name not found and no driver by default specified

    The VB code works well and able to connect to database server dev dev. The same script with the name of the UAT server does not work on server UAT.

    The servers are Windows server 2007-32 bit.

    When I checked the tab drivers in ODBC Data Source Administrator, dev server entry below:

    Microsoft ODBC for Oracle - 6.00.6001.18000 - Microsoft Corporation - MSORCL32.dll - Date

    Considering that the UAT server has entered below:

    Microsoft ODBC for Oracle-

    The Microsoft ODBC driver for oracle is listed in the tab UAT Server drivers, but did not have details of file version & dll. This driver is not installed correctly? If so, how the re install? Please help solve this problem as soon as POSSIBLE.

    Kind regards

    Tamil

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • No sound from speakers. Driver IDT HD Audio CODEC link posible changed with the Norton driver manager.

    I read the other posts in this forum and took no measures not already as I could. Roll back the driver caused the blue screen of death. the pilot in the rear seat was placed on the blue screen. I lost the paper while trying to save my computer. Entertainment dv6-6140 of HP Pavilion PC. Remove the Chuck restores sound temporarily. Windows was created to replace a missing driver automatically causing the accident. It is set to manual now. Beats audio control says its startup file is missing and that it was the first symptom, followed by the loss of his. I have no silent films and would appreciate any help, as I am new to laptops and windows 7; Thank you.

    Dave67

    the Driver Manager installs a driver automatically but ill keep trying thanks a lot
    Dave

  • application of odbc within an oracle database

    Is it possible to query using an external odbc link within an oracle database?

    I have an odbc link to our accounts package and questioning the limits of credit etc. then return the value to my current database

    for example, select the columns of odbcsn.tablename where condition

    ngac_uk wrote:
    Is it possible to query using an external odbc link within an oracle database?

    Yes, but this requires:
    (a) ODBC Manager on the Oracle Server
    (b) relevant ODBC driver on the Oracle Server
    (c) odbc.ini defining the DSN in the o/s oracle account
    (d) the configuration of the server heterogeneous oracle DSN for in + $ORACLE_HOME +.
    (e) the listener on this server to support the definition of heterogeneous server (HS)
    (f) Finally, a link of database using this definition HS

    Nothing to do with the SQL or PL/SQL languages - the theme of this forum.

    Everything about database administration. Not the subject of this forum.

    PS. found references in the notes following support:
    -Master Note for Oracle Gateway (Doc ID 1083703.1) products
    -How the installer DG4ODBC (gateway for ODBC Oracle database) on Windows 32 bits (Doc ID 466225.1)
    -How the installer DG4ODBC (gateway for ODBC Oracle database) on 64-bit Windows operating systems (Doc ID 1266572.1)

  • ODBC connection to the database MsAccess Ora11.2 64-bit

    Hi all

    I have Oracle 11.2 on Windows 2008 R2 (64-bit).

    Now try to connect to MsAccess through ODBC database.
    The problem is that I couldn't find the 64-bit for Ms Access then the only connection ODBC driver that can be set is using the 32-bit ODBC tool.

    When I try to connect from oracle, I have the following error:

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
    [Microsoft] [ODBC driver manager] The specified DSN contains a mismatch of architecture between the driver and the Application {IM014}
    ORA-02063: preceding 2 lines of CRM_DATABASE
    28500 00000 - "connection between ORACLE and a non-Oracle system has sent this message:
    * Cause: The cause is explained in the forwarded message.
    * Action: See documentation for the non-Oracle of the transmission system
    Message.
    Error on line: 1 column: 24

    The configuration is the following:

    crm_database - system dsn defined in the 32-bit odbc tool (64-bit the MsAccess driver is not visible)

    initcrm.ora
    # This is an example of initialization file of the agent that contains the HS settings
    # needed for an ODBC Agent.

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = crm_database
    HS_FDS_TRACE_LEVEL = off


    Listener:
    (SID_DESC =
    (PROGRAM = dg4odbc)
    (ORACLE_HOME = C:\oracle\product\11.2.0\dbhome_2_64bit)
    (SID_NAME = crm)
    )

    tns_names:
    CRM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST=kdlabV2011) (PORT = 1521))
    (CONNECT_DATA = (SID = crm))
    (HS = OK)
    )

    dblink:
    CREATE THE DATABASE LINK "CRM_DATABASE".
    CONNECT to "xxx" IDENTIFIED BY THE VALUES of "xxx" USING "crm."

    test:

    Select * from addressen@crm_database

    Any help would be appreciated
    concerning
    Marcin

    Marcin,
    DG4ODBC on 64-bit Windows works with a 64-bit driver.
    Try here for a driver to access 64-bit-

    Microsoft Access Database Engine 2010 Redistributable

    downloadable from -.

    http://www.Microsoft.com/download/en/details.aspx?displaylang=en&ID=13255

    Kind regards
    Mike

  • Connect to the Oracle database fails when you use Microsoft ODBC or OLE DB Driver

    There was a problem when you apply the KB3126587 hotfix where connections to an Oracle database using the Microsoft ODBC driver fails if run from automated processes. Running the same process manually would succeed. The update issued KB3147071 solved the problem successfully.

    Yesterday, several patched have been applied and the problem came back. The patches are: KB2862152, KB2868626, KB3163244, KB3168965, KB3170455, KB3163251.

    I saw yet no acknowledgement or difficulty of Microsoft. I prefer not to uninstall security patches, but it is a problem of production.

    Any ideas what specific patch maybe breaking it again?

    Thank you

    Josh

    Server: Windows 2008 R2

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • Unable to connect to oracle DB using VBA and you are prompted with the error:-the client components and Oracle network have not been found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or installation of the

    Hello

    It would be helpful to me if someone can give me instructions on setting the version of driver or oracle client required to connect to the the Oracle DB using excel VBA

    My config: -.

    Windows - 8-64 bit

    Excel 2013-32 bit

    The components of the client / I should install, and how to solve the question below...

    I tried the VBA code... but you are prompted with the error message above

    Void Oracle()

    Con Dim As ADODB. Connection

    Dim rs As ADODB. Recordset

    Dim query As String

    The con value = New ADODB. Connection

    Set rs = New ADODB. Recordset

    strCon = "Driver = {Microsoft ODBC for Oracle}"; "." & _

    "CONNECTSTRING = (DESCRIPTION ="& _.

    "(ADDRESS =(PROTOCOL=TCP)"& _

    "(HOST = HostNumber)(PORT=PortNumber))" & _

    "(CONNECT_DATA = (SID = SIDNumber))); UID = username; pwd = password; »

    con. Open (strcon)

    If err. <>Number 0 then

    MsgBox ("Oracle error:" & vbCrLf & err.) Description)

    On the other

    MsgBox ("Oracle DB Connection successful.")

    End If

    End Sub

    I'll replace it with the values of host origin...

    Thanks for the suggestion you till u gave...

    complete solution is in the link below...

    https://itkbs.WordPress.com/2014/07/28/how-to-install-ODBC-driver-for-Oracle-in-Windows-7/

  • I have Adobe photoshop Elements 4 and use windows 10. When you try to import photos and do other things in Adobe I the following error coming. {Microsoft} [ODBC Access driver} cannot open database' the may not be a database of your application]

    I have Adobe photoshop Elements 4 and use windows 10. When you try to import photos and do other things in Adobe I the following error coming. {Microsoft} [ODBC Access driver} cannot open database' the may not be a database that your application recognizes, or the file may be corrupt,.] Everything worked very well this fault has just come. Anyone know how to solve this problem.

    Settle into the Photoshop Elements forum.

  • Error connectign the ODBC driver on Server 2008 R2

    Hi all

    I use a 32-bit application on windows server 2008 R2, I Heve to connect to oracle DB on another server (win 2003 32-bit).
    I Heve created the "C:\Windows\SysWOW64\odbcad32.exe" ODBC driver but I've always found this error ' specific driver could not be loaded due to the error 1114 system: a dynamic link library (DLL) initialization routine failed. " (Oracle in 32bit_Oracle_OraClient11g_home1, C:\app\Oracle\BIN\SQORA32. (DLL).
    Could you please help me solve this problem?

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Forum. You can follow the link to your question:
    http://TechNet.Microsoft.com/en-us/WindowsServer/bb512919

  • Windows 7 Home Premium loading of a new hard drive. Error 0 x 80070017, driver manager couldn't do.

    Windows 7 Home Premium loading of a new hard drive. Get error 0 x 80070017. Can not find the driver manager. How can I solve this problem and get Win 7 responsible?

    This is a new generation, the motherboard Intel DZ68DB Media Series for processor LGA1155 albums, office.

    I am a bit stuck!

    Check out this link

    http://search.Microsoft.com/en-us/results.aspx?q=0x80070017&x=11&y=8

    Good luck.

  • Using the MS ODBC driver to connect to Oracle and MS SQL DB - get a time-out error

    I have the driver installed and configured on the Linux host where sits the Oracle DB.  I worked through the configuration and tested along the way.

    If I execute the following SQL statement I get a timeout error after only 15 minutes:

    SQL > select * from host_table@UCMDB806;

    Select * from host_table@UCMDB806

    *

    ERROR on line 1:

    ORA-28511: interruption of the RPC connection to heterogeneous remote agent to help

    SID = ORA-28511: lost RPC connection to heterogeneous remote agent to help

    SID = (Description = (Address = (Protocol = TCP)(Host=localhost) (port = 1521)) (CONNECT_DAT

    A = (SID = UCMDB806)))

    ORA-02063: preceding the line of UCMDB9

    Process ID: 4070

    Session ID: 392 serial number: 40935

    If I limit the SQL to give hosting me only that start with 'a', I get this:

    SQL > select * from host_table@UCMDB806 where (name) lower like 'a % ';

    ID

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

    NAME

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

    TenantID

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

    name of the vendor

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

    softwarename

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

    4616

    AHOST-B

    76436

    ID

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

    NAME

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

    TenantID

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

    name of the vendor

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

    softwarename

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

    SYMANTEC

    .

    .

    .

    It seems to be a time-out on this query.  My software is located 20 minutes for a query.  MS SQL server is set to unlimited for remote queries (we did it to help isolate the timeout).  So, I guess the wait time that is happening at the level of ODBC driver.  Someone has all understand how to solve this problem?

    Hello

    Your question is beyond the scope of this community.

    Please repost your question in the SQL Server TechNet Forums.

    https://social.technet.Microsoft.com/forums/SQLServer/en-us/home?category=SQLServer

    See you soon.

  • [Microsoft] [ODBC Microsoft Access driver] Operation must use an update query.

    Trying to insertion or put to update an access database I get on the error message:

    [Microsoft] [ODBC Microsoft Access driver] Operation must use an update query.

    What is the cause of this, and what could be the solution?

    Thank you.

    Ross

    I discovered after testing that the directory where the database file resides must be barking like rwx as well - not intuitively obvious, certainly!

    I ended up creating a new directory with the file of database inside also well marked for write access in the world and relying on my permissions of normal file off root on the server to protect the directory and file.

    Thank you!

    Ross

  • ODBC driver returned an error (SQLExecDirectW).

    Hello

    You have an idea for the below error

    This error occurs for a report in prod, the same report works very well in Dev


    ODBC driver returned an error (SQLExecDirectW).



    Error codes: OPR4ONWY:U9IM8TAC
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 27002] Near < 3342270472 >: syntax error [nQSError: 26012]. (HY000)

    Check this box
    ID 1464133.1

    IF helps mark

    Writing his bug BUG: 13737150 and suggesting
    Download and apply 11.1.1.6.2 BP1 OBIEE.  It is resolved in this version

    Published by: Srini VIEREN on March 25, 2013 11:42

    Read this
    http://docs.Oracle.com/CD/E23943_01/bi.1111/e16452/bi_plan.htm#CACIBFHF

    Thank you

    Published by: Srini VIEREN on March 25, 2013 11:46

  • Microsoft store download manager error at 15%

    Help! Don't know much about it, but I try it anyway. I bought the Windows 7 Home premium online via the microsoft store. I am trying to download it but it says I have to install the microsoft store download manager helper to get the download of windows. The Download Manager only goes to 15% then gives me a message that says "path"% APPDATA%\" ' is not available. What do this mean and what do I do? Download won't work or do I send it back? Any help is greatly appreciated!

    Try to clear your temporary Internet files directory and try to download again

    Click Start, type % temp %

    Press enter

    Delete the contents of the folder

    Try to download again

    Also, make sure that you are using Internet Explorer

    Andre Da Costa http://adacosta.spaces.live.com | http://www.ActiveWin.com | Microsoft MVP

  • Uninstall the Microsoft IPMI driver (IPMIdrv.sys) on Server 2008 R2

    Hello
    Several sources mention that the driver IPMI from Microsoft and Intel IPMI driver should not be loaded at the same time. If the two drivers are installed, the resource contention problems cause unreliable operation.
    I want to use the Intel driver and tried to uninstall the Microsoft IPMI driver (IPMIdrv.sys), but all my efforts have failed so far.
    Obvious way seems to be to start device, go to "System devices" Manager, "Microsoft generic compatible peripheral IPMI" right-click, select Properties, and on the driver tab, click on "Uninstall". When I do that, I don't get an error message, but when the reboot of the machine, "Microsoft generic compatible peripheral IPMI" reappears.
    I've also tried using DevCon.exe, but I got the same result as before. I also tried a few 'dirty' things, but they don't work as well.
    I am aware that I can choose to stop (disable through Device Manager) the Microsoft IPMI driver, but I really wish to uninstall completely (the evidence being IPMIdrv.sys should not appear when driverquery command is executed).
    Also, I can see in the Device Manager, Microsoft Generic IPMI compatible device properties -> resources -> list of the conflicting devices:
    Range of input/output, CA 0, 2 - 0CA 2 used by:
    Motherboard resources
    Range of input/output, CA 0, 3 - 0CA 3 used by:
    Motherboard resources
    Does have a meaning?
    Intel has published a document entitled the IPMI driver conflicts resolution in Windows Server 2003 R2, but as its name suggests, it is intended to Server 2003 R2, and the mentioned techniques do not work for Server 2008 R2.
    The pointers will be greatly appreciated.
    Thank you
    CD

    Hello

    It is better suited for the IT Pro TechNet public. Please ask your question in the Forum on TechNet Support. You can follow the link to your question:

    http://social.technet.Microsoft.com/forums/en-us/winservergen/threads

    Hope this information helps.

Maybe you are looking for