Skip navigation links
Articles
How To Access MySQL from Oracle With ODBC and SQL
Add to My Link Library +1 Vote Up -0Vote Down
The Oracle gateway for ODBC provides an almost seamless data integration between Oracle and other RDBMS. I won't argue about its performance, limits, or relevance. It serves a few purposes; set it up and you'll be able, for example, to create database links between Oracle and MySQL. After all, wouldn't it be nice if you could run some of the following SQL statements? "select o.col1, m.col1 from oracle_tabo, mysql_tab@mysql m where o.col1=m.col1;" "insert into oracle_tab (select * from mysql_tab@mysql);"This post is intended to share, the same way Karun did it for SQL Server last year, some tips related to the setup of the Oracle Gateway for ODBC with MySQL Connector ODBC on Linux.PrerequisitesI've installed all the configuration on my laptop to test it. It's running Ubuntu Intrepid Ibex 32bits, but I won't dig into the challenge of installing the MySQL Connector ODBC 5.1 on it. All I'll tell you is that, if I understand correctly, the version of iodbc that comes with Intrepid doesn't support MySQL Connector ODBC 5.1 too well, and the messages that it returns are not quite explicit. To be frank, what I did is put that monkey on Augusto's back. He sorted out everything in a few minutes. I guess I have to thank Augusto twice, just for this post! I've also followed his "Installing Oracle 11gR1 on Ubuntu 8.10 Intrepid Ibex" post to install the Oracle part.But let's talk about the prerequisites! You need to have installed and configured the following components:


Report this link: