cancel
Showing results for 
Search instead for 
Did you mean: 

Connect MySQL as Remote connection to SAP IQ

Former Member
0 Kudos

Hi,

I need to connect MySQL to SAP IQ as remote database and use data from MySQL tables Data to transfer to SAPIQ. I need some help with the connection . Points will be rewarded. Please help.

Accepted Solutions (0)

Answers (1)

Answers (1)

saroj_bagai
Contributor
0 Kudos
Former Member
0 Kudos

Thanks Saroj,

I had already gon through your link, which was very helpful for me.

I just wanted to check on few things. I am not able to find .odbc.ini file. I have downloaded the MySQL Connector as you had suggested, So I could not modify it to access the MySQL DB.

I apologize, if the question seems naive, but I am new to both MySQL and SAP IQ and in need of desperate help.

Thanks for your assistance

saroj_bagai
Contributor
0 Kudos

Hi Saurabh,

You will need to install unixodbc driver also,  odbc.ini should be created by unixodbc driver in /etc/

instructions for downloading unixodbc driver are in the SCN doc.  Once driver have been installed, Add MySQL  server and IQ server entry in the odbc.ini .  You can set ODBCHOME and ODBCINI environment variables in  IQ.csh /sh  and restart IQ server after setting these environment variables.

  • Set LD_LIBRARY_PATH environment variable to MySQL libraries in IQ.csh

             setenv LD_LIBRARY_PATH  "/usr/lib64:${LD_LIBRARY_PATH}"

  • set ODBCINI and ODBCHOME environment variables

           setenv ODBCINI /etc/odbc.ini       

  setenv ODBCHOME /etc

  • cd $SYBASE/IQ-16_0./lib64 and if libodbc.so link already exists, remove it, to make sure correct driver manager get loaded.

     rm libodbc.so