Solved

ORA-12569: TNS:packet checksum failure - Oracle 10.2 to MySQL 5.0

Posted on 2008-06-24
3
4,867 Views
Last Modified: 2010-05-18
I'm getting this error when tnsping-ing the SID defined below.  The ODBC connection MySQLTDSN works. How do I resolve the error?

TNSNAMES.ORA entry:
 MySQLTDSN =
   (DESCRIPTION =
     (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = MyPC)(PORT = 3306))
     )
     (CONNECT_DATA =
       (SID=MySQLTDSN)
     )
     (HS=OK)
   )

SID Listener:
 (SID_DESC =
       (PROGRAM = hsodbc)
       (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
       (SID_NAME = MySQLTDSN)
     )
0
Comment
Question by:monosodiumg
  • 2
3 Comments
 
LVL 47

Accepted Solution

by:
schwertner earned 500 total points
ID: 21854472
Possibly you miss some of these steps;
http://www.dba-oracle.com/t_connecting_sql_server_oracle.htm

Here is an article I wrote on Hetergeneous Services. In order to connect to SQL*Server from Oracle, you must do several things:

1. Install ODBC drivers for the SQL*Server database. The drivers are installed on your laptop or on
the server that contains the Oracle code tree.
2. Setup the ODBC connection on your laptop using the Windows ODBC Data Source Administrator
3. Test the ODBC drivers to ensure that connectivity is made to the non-Oracle database.
4. Ensure the Global_names parameter is set to False in the Oracle database.
5. Configure the Hetergeneous services. This consists of creating an initodbc.ora file within the Oracle
Oracle database installation.
7. Modify the Listener.ora file on the database installation to connect to the Oracle instance and ODBC drivers.
8. Modify the Tnsnames.ora file to point to the proper code tree.
9. Reload the listener
10. Create a database link on the Oracle installation.
11. Run a Select statement for the Oracle installation using the database link.
0
 
LVL 12

Author Comment

by:monosodiumg
ID: 21854967
1,2 done. 3 tests OK.
4 ok
5: see below.
7, 8: as per post
9,10: done
11: falls over.

I should have specified that I am using XE and the TNSNAMES.ORA file sits in the instantclient folder:
TNS_ADMIN=C:\instantClient
PATH=C:\oraclexe\app\oracle\product\10.2.0\server\bin;...
There is no ORACLE_HOME variable.

file initmysqltdsn.ora in C:\oraclexe\app\oracle\product\10.2.0\server\hs\admin:
 HS_FDS_CONNECT_INFO=MySQLTDSN
 #HS_DB_NAME=titan
 HS_FDS_TRACE_LEVEL=ON
 HS_FDS_TRACE_FILE_NAME=HS_FDS_TRACE1
   
 #
 # Environment variables required for the non-Oracle system
 #
 #set <envvar>=<value>
0
 
LVL 47

Expert Comment

by:schwertner
ID: 22472829
Thanks!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question