Linked Server to MySQL 5 from Oracle 11G R2

Hi Experts,

I have to configure linked server to Mysql from Oracle i have already read articles on internet and edit, all accessory files. it seems there is a issue with my listner.ora file. SID_LIST_LISTENER for MY SQL is myodbc5.  please correct my Listner file.

LISTENER_REMOTSDV =
   (DESCRIPTION_LIST =
     (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP) (HOST = oramob.local) (PORT = 1522))
        (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1526))
     )
   )

SID_LIST_LISTENER_REMOTSDV =
  (SID_LIST =
     (SID_DESC =
        (SID_NAME = REMOTSDV)
        (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
     )
    ( SID_DESC =
        (SID_NAME = myodbc5)
        (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
        (PROGRAM = dg4odbc)
        (ENV=LD_LIBRARY_PATH=/export/home/oracle/app/unixodbc-2.2.14/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
        )
   )

LISTENER =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oramob.local)(PORT = 1521))
  )

ADR_BASE_LISTENER = /u01/app/oracle
LVL 9
Pushpakumara MahagamageVPAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sanjeev LabhDatabase ConsultantCommented:
I think just by configuring the listener it might not be sufficient. For connecting to hetrogenous database Oracle needs some gateway. ODBC provides the right gateway. So, the listener configuration would have to be done alongwith the ODBC connection.

I think the below article provides a right example for your case. Try it out probably this should help.

http://www.mysqlab.net/knowledge/kb/detail/topic/oracle/id/5386
0
Tomas Helgi JohannssonCommented:
Hi!

You will have to download and install the Oracle Gateway for the heterogeneous db connections. It's not included in the database install.

The gateway can be downloaded here
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-linx8664soft-100572.html
or folllow the links (see all ) for your OS.
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index-092322.html

The Gateway manual can be found here
http://docs.oracle.com/cd/E11882_01/gateways.112/e12070.pdf
http://docs.oracle.com/cd/E11882_01/nav/portal_15.htm

Regards,
     Tomas Helgi
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Pushpakumara MahagamageVPAuthor Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.