Solved

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

Posted on 2008-06-24
3
4,640 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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to recover a database from a user managed backup

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now