Contents
How do I create a database link from Oracle to MySQL?
Oracle: Create Database Link to MySQL Database
- Setup the ODBC data source to your MySQL database.
- Configure listener.ora.
- Configure data source / SID for dg4odbc.
- Configure tnsnames.ora.
- Restart the Oracle Service and the TNS Listener Service.
- Create database Link.
- Test database Link and finished.
How do I find an existing DB Link?
2 Answers
- DBA_DB_LINKS – All DB links defined in the database.
- ALL_DB_LINKS – All DB links the current user has access to.
- USER_DB_LINKS – All DB links owned by current user.
How to create a database link in MySQL to connect to Oracle?
I need to create a database link in MySQL to connect to an Oracle database to use a table present in the Oracle database. I am not able to find any code or method of creating a database link in MySQL. How could I do this?
Is it possible to connect to Oracle Database?
Oracle offers a very nice feature for that called “database” links where you can query different Oracle databases. However, it’s not only possible to query Oracle databases, but you can also connect to for example a MySQL database (or any other ODBC data source) with some configuration effort.
Can you query Oracle database from MySQL database?
However, it’s not only possible to query Oracle databases, but you can also connect to for example a MySQL database (or any other ODBC data source) with some configuration effort. Here is how to do it in Windows – namely Windows Server 2008 64 Bit with Oracle 11.2.0, but should be similar in any other constellation.
How to create a private database link in Oracle?
To create a private database link, you must have the CREATE DATABASE LINK system privilege. To create a public database link, you must have the CREATE PUBLIC DATABASE LINK system privilege. Also, you must have the CREATE SESSION system privilege on the remote Oracle database. Oracle Net must be installed on both the local