简体   繁体   中英

Oracle database - link to MySql on Mac?

I'm working with a remote Oracle database and would like to create a link to a local MySQL database on my Macbook Pro. From what I've read it sounds possible, but I'm not sure how to get things setup.

I believe I need ODBC connection info setup on my Mac in the odbc.ini file. I can't find where that file should be, or what info to enter into it. I've come across Mac app "ODBC Manager" which looks like it should help with setup, but I see no instructions on how to use it. Can ODBC connection info be setup through other clients like Sequel Pro or SQL Developer?

I'm currently running Mac OS X 10.10.5 (Yosemite). I could update to Sierra if that would make the odbc setup/linking easier.

Thanks, Steve

You don't need to upgrade OS X, in any case.

Are you trying to make MySQL consume data from Oracle? I do not believe this is possible.

Or make Oracle consume data from MySQL? This is done with DG4ODBC, an Oracle helper application, as Oracle -> DG4ODBC -> ODBC driver for MySQL -> MySQL .

DG4ODBC is available for various platforms (which do not include OS X). You'll need an ODBC driver for MySQL (such as those from my employer ) installed on the same platform; DG4ODBC will need to be TCP/IP accessible by Oracle from its host; and MySQL on your Mac will need to be TCP/IP accessible by DG4ODBC from its host.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM