Solved

Database link between Oracle and MY SQL

Posted on 2010-11-25
9
445 Views
Last Modified: 2012-05-10
We need to use data from My SQL database which are hosted on Windows 2003 server in Oracle 11g (Linux).

Please suggest how to start.
0
Comment
Question by:sachin_dba
9 Comments
 
LVL 77

Expert Comment

by:arnold
ID: 34215483
http://www.dba-oracle.com/t_how_create_database_link.htm

Make sure to adjust the ORACLE_HOME variable from the above example to match your linux ORACLE_HOME variable.


http://database.itags.org/oracle/50220/
0
 

Author Comment

by:sachin_dba
ID: 34228330
As Oracle Heterogeneous Services was not supported for 64bit Linux, I am trying to accomplish this using Oracle 11g Database Gateway for ODBC.

Can you please share some step by step document for same?

Sachin
0
 
LVL 77

Accepted Solution

by:
arnold earned 250 total points
ID: 34231033
I do not have such an example, you however can search the oracle knowlegebase base for such information.

http://forums.oracle.com/forums/thread.jspa?threadID=2130517&tstart=1
A thread that discusses a similar implementation for the 10g version.
http://forums.oracle.com/forums/thread.jspa?threadID=887044&tstart=180
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 34231050
just a side note from my site: I had the dblink to a mssql server already, and mssql server had a linked server to the MySQL I was then interested ... not a very nice design, but worked (a view in mssql to return the data from the mysql table, and oracle querying the mssql server view ...)
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:sachin_dba
ID: 34264388


Do we need to make some changes on MYSql as well?
0
 
LVL 77

Expert Comment

by:arnold
ID: 34264822
The user that you are configuring to establish the link needs to exist on the mysql with the rights to the database of interest to you.
0
 
LVL 5

Assisted Solution

by:anand_20703
anand_20703 earned 250 total points
ID: 34276441
Below is good oracle notes to start. Setup/configuration needs to be done from both mysql,oracle database point of view along with ODBC 32/64 bit drivers. Then only u will reach a stage to create a database link.
HSODBC Using FreeTDS ODBC Fails with Missing Symbol SQLDescribeParam or SQLExtendedFetch [ID 393354.1]
0
 

Author Comment

by:sachin_dba
ID: 34484977
ok i will look and get back
0
 

Author Closing Comment

by:sachin_dba
ID: 36877201
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
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.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

910 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now