---
title: "oracle dblink mysql"
author: "雨中伞"
date: "2010-04-19T17:46:24Z"
tags: []
categories: ["数据库"]
slug: "oracle-dblink-mysql"
draft: false
lastmod: "2010-04-19T17:46:24Z"
id: 647647
url: "https://gcg.iteye.com/blog/647647"
---

网文档 ：

 

http://download.oracle.com/docs/cd/B28359\_01/gateways.111/b31042/configodbc.htm

 

```
listener.ora 

(SID_DESC =
     	(SID_NAME = test)
      (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
      (PROGRAM = hsodbc)
)

tnsnames.ora

test= 
(DESCRIPTION = 
  (ADDRESS_LIST = 
  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) 
  ) 
  (CONNECT_DATA = (SID = test))
  	(HS = OK) 
  )
)  

init.ora

HS_FDS_CONNECT_INFO = test
HS_FDS_TRACE_LEVEL = 0
      )
```