MySQL driver can't be loaded
Posted: Thu Oct 28, 2010 8:36 am
Hi,
I've been browsing the forum but can't seem to find the solution. The problem is as follows. We want to make a datastage (8.0.1) connection to a MySql database.
On the solaris machine we have added the drivers for solaris.
In my .odbc.ini I've made the following entry at the start of the file:
MySqlShop=MySQL ODBC 3.51 Driver DSN
At the end:
[MySqlShop]
Driver=/prd/clb/sft/dts/install/8.0.1/odbc/mysql-connector-odbc-5.1.6-solaris10-sparc-32bit/lib/libmyodbc3S.so
Description=MySQL ODBC 3.51 Driver DSN
SERVER=192.168.245.164
PORT=
USER=******
Password=*****
Database=shop
OPTION=3
SOCKET=
I've also added the entry in uvodbc.config
<MySqlShop>
DBMSTYPE = ODBC
I've also made sure that the driver path is in my LD_LIBRARY_PATH as the first entry.
If i make a job in datastage with the correct connection string I get the following error:
[DataDirect][ODBC Lib] Specified driver could not be loaded
Unable to connect to the database server 'MySqlShop'
DSP.Open GCI $DSP.Open error -100
I am a bit at a loss here. I read in some forums that you have to register with iODBC or unixodbc but we don't use those tools.
Anyone got a thought on what I am doing wrong here ?
Thanks for any help :D
I've been browsing the forum but can't seem to find the solution. The problem is as follows. We want to make a datastage (8.0.1) connection to a MySql database.
On the solaris machine we have added the drivers for solaris.
In my .odbc.ini I've made the following entry at the start of the file:
MySqlShop=MySQL ODBC 3.51 Driver DSN
At the end:
[MySqlShop]
Driver=/prd/clb/sft/dts/install/8.0.1/odbc/mysql-connector-odbc-5.1.6-solaris10-sparc-32bit/lib/libmyodbc3S.so
Description=MySQL ODBC 3.51 Driver DSN
SERVER=192.168.245.164
PORT=
USER=******
Password=*****
Database=shop
OPTION=3
SOCKET=
I've also added the entry in uvodbc.config
<MySqlShop>
DBMSTYPE = ODBC
I've also made sure that the driver path is in my LD_LIBRARY_PATH as the first entry.
If i make a job in datastage with the correct connection string I get the following error:
[DataDirect][ODBC Lib] Specified driver could not be loaded
Unable to connect to the database server 'MySqlShop'
DSP.Open GCI $DSP.Open error -100
I am a bit at a loss here. I read in some forums that you have to register with iODBC or unixodbc but we don't use those tools.
Anyone got a thought on what I am doing wrong here ?
Thanks for any help :D