Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
46Activity
0 of .
Results for:
No results containing your search query
P. 1
Oracle Heterogeneous Configuration for MySQL with ODBC/OLEDB

Oracle Heterogeneous Configuration for MySQL with ODBC/OLEDB

Ratings:

4.83

(6)
|Views: 7,318 |Likes:
Published by Sethunath.U
Oracle Hetrogeneous Configuration for MySQL with ODBC/OLEDB
Oracle Hetrogeneous Configuration for MySQL with ODBC/OLEDB

More info:

Published by: Sethunath.U on May 29, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/09/2014

pdf

text

original

 
Sethunath Page 1 5/29/2008
Oracle Heterogeneous ServicesConfiguration for MySQL (With ODBC/OLEDB)
Author : Sethunath. UEmail :
sethunathu@gmail.com 
 
References
http://birijan.com.np/?q=Oracle+Heterogeneous+Services+(Accessing+ODBC+data+source): Birijan Maharajanhttp://articles.techrepublic.com.com/5100-10878_11-5725974.html: Scott Stephens
 
Sethunath Page 2 5/29/2008
Introduction
Heterogeneous services in Oracle permits connection with non-oracle databasesystems. Oracle provides two types of Heterogeneous Services agents, OracleTransparent Gateways and Generic Connectivity. This document details GenericConnectivity which uses Generic Connectivity agents for ODBC and OLEDB which enableyou to use ODBC and OLEDB drivers to access MySQL that have an ODBC or an OLEDBinterface. Any data source compatible with the ODBC or OLEDB standards can beaccessed using a Generic Connectivity agent. As there is no transparent gatewayavailable for MySQL, it can be used to access MySQL; though with certainlimitations.
Using
Windows XPOracle EE 10.2.0.3MySQL version: 5.0
1.
 
Login to mysql
H:\> mysql -u root mysql -pEnter password: ****Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 10 to server version: 5.0.24a-community-ntType 'help;' or '\h' for help. Type '\c' to clear the buffer.
2.
 
Grant privileges to root user
mysql> grant usage on *.* to root@localhost with grant option;Query OK, 0 rows affected (0.05 sec)
3.
 
Create database
mysql> create database oraclecall;Query OK, 0 rows affected (0.04 sec)mysql> grant usage on *.* to root@localhost with grant option;Query OK, 0 rows affected (0.05 sec)mysql> use oraclecall;Database changed
4.
 
Create a user “oracle”
This user id will be used to authenticate using ODBC/OLEDBmysql> grant all on oraclecall.* to 'oracle'@'localhost' identified by 'oracle';Query OK, 0 rows affected (0.02 sec)mysql> flush PRIVILEGES;Query OK, 0 rows affected (0.08 sec)
5.
 
Install MySQL ODBC driver 3.51 and configure as follows
 
Sethunath Page 3 5/29/2008
6.
 
Configure Oracle Heterogeneous services for ODBC.
Here it can be configured by two methods. We can use either of these two methods.
6.1
 
Through OLEDB
Create a UDL file (create a text file called msoracle.udl) and save it.Doubleclick the file to configure the connectivity and configure it as follows.Select “
Use connection string
” and click
 build
to select the data source. Selectthe data source we created previously (i.e msora35)

Activity (46)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
mafisade liked this
chulrung liked this
Shawney Ariadi liked this
Alex Zhirov liked this
shihabduet994 liked this
Jae Pil Kim liked this
Cowok Gitu Loh liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->