Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

how to query oracle from mysql

Posted on 2014-02-19
Last Modified: 2014-03-18
I would like to create a link in my mysql instance to allow me to perform select statements against oracle.  What I am going to do is create a user in oracle with select privledges only, and in stored procedures I am going to perform said select statements as source data from oracle and land them in mysql.

Thanks much
Question by:Evan Cutler
  • 3
LVL 143

Accepted Solution

Guy Hengel [angelIII / a3] earned 500 total points
ID: 39870659
from what I know, this is not possible.
you can (using federated engine tables) query remote mysql tables, but not other database engines.

the other way round would work, using oracle odbc db link gateways:

Author Comment

by:Evan Cutler
ID: 39870832
ok...how about the reverse....can I cannect to mysql tables remotely and push?
like this?

1. create oracle username.
2. Give username select privs on my other schemas
3. create dblink to Mysql
4. drop into Mysql???

LVL 23

Expert Comment

ID: 39871045
I can't jump into this yet, but provide the versions please.  Always a help.

Author Comment

by:Evan Cutler
ID: 39871055
mysql 5.0.95-5.el5_9  on red hat
oracle 11g on red hat

Author Closing Comment

by:Evan Cutler
ID: 39937221
Thank you very much.  While I couldn't work the solution I needed.  I added this to my knowledge base and asked my DBAs to research this as a resolution.  If I have any further questions, I'll let you know.


Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to take different types of Oracle backups using RMAN.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

856 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