Oracle에서 MySql DBlink 질문 0

by 조준혁 [Oracle 에러코드] [2024.06.13 12:49:05]


오라클에서 MySql로 DB Link연결 하려고 하는데

TNS-12569: TNS:packet checksum failure

에러가 발생합니다.

 

<오라클 서버>

Oracle 12c 12.1

MySql Odbc 8.4 Unicode Driver 

Windows Server 2019 Standard 64bit

 

<MySql 서버>

MySql 5.5.53

Windows10 64bit

 

<오라클 리스너> 

# listener.ora Network Configuration File: D:\app\Administrator\product\12.1.0\dbhome_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
 

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = D:\app\Administrator\product\12.1.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:D:\app\Administrator\product\12.1.0\dbhome_1\BIN\oraclr12.dll")
    )

    (SID_DESC =
      (SID_NAME = odbcn)
      (ORACLE_HOME = D:\app\Administrator\product\12.1.0\dbhome_1)
      (PROGRAM = dg4odbc) 
    )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-UI3O5EE08SJ)(PORT = 1521))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
  )

 

<오라클 Tns>

# tnsnames.ora Network Configuration File: D:\app\Administrator\product\12.1.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

ORACLR_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
    )
  )

FORMDBA =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST= WIN-UI3O5EE08SJ)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = FORMDBA)
    )
  )

odbcn =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.100)(PORT = 3306))
    (CONNECT_DATA =
      (SERVICE_NAME = odbcn)
    )
    (HS=OK)
  )

 

<오라클 sql.net>

# sqlnet.ora Network Configuration File: D:\app\Administrator\product\12.1.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.

# This file is actually generated by netca. But if customers choose to 
# install "Software Only", this file wont exist and without the native 
# authentication, they will not be able to connect to the database on NT.

SQLNET.AUTHENTICATION_SERVICES= (NTS)

NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

 

<오라클 \hs\initdg4odbc> 

# 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 = odbcn 
HS_FDS_TRACE_LEVEL = ON


#
# Environment variables required for the non-Oracle system
#
#set <envvar>=<value>
 

 

ODBC Data Source Administrator (64-bit)

에서 .. Mysql odbc 등록 했습니다.. 

서버로 커넥션도 테스트도 다 정상인데 .. Link연결이 안됩니다.

 

뭐가 문제인지 도무지.. 모르겠습니다.

댓글등록
SQL문을 포맷에 맞게(깔끔하게) 등록하려면 code() 버튼을 클릭하여 작성 하시면 됩니다.
로그인 사용자만 댓글을 작성 할 수 있습니다. 로그인, 회원가입