MySQL

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Sreedhar
Participant
Posts: 187
Joined: Mon Oct 30, 2006 12:16 am

MySQL

Post by Sreedhar »

Hi All,

I am trying to establish connection between my Data Stage and MySQL.

I am getting the following error. I did enter the details of this under .odbc



[DataDirect][ODBC lib] Data source name not found and no default driver specified)
Regards,
Shree
785-816-0728
asorrell
Posts: 1707
Joined: Fri Apr 04, 2003 2:00 pm
Location: Colleyville, Texas

Post by asorrell »

You need to post those details - show us the entries you put in .odbc.ini and uvodbc.config.
Andy Sorrell
Certified DataStage Consultant
IBM Analytics Champion 2009 - 2020
Sreedhar
Participant
Posts: 187
Joined: Mon Oct 30, 2006 12:16 am

Post by Sreedhar »

odbc.ini

walldb=DataDirect SQL Server Wire Protocol driver

[walldb]
Driver=/opt/IBM/InformationServer/v81/Server/branded_odbc/lib/VMmsss23.so
Description=DataDirect SQL Server Wire Protocol driver
Database=walldb
LogonID=User
Password=Passwd
Address=192.100.0.0,3306
QuotedId=No
AnsiNPW=Yes



UVcongif

<walldb>
DBMSTYPE = ODBC
Regards,
Shree
785-816-0728
Sreedhar
Participant
Posts: 187
Joined: Mon Oct 30, 2006 12:16 am

Post by Sreedhar »

This is the error message I am getting

"Resource bundle corresponding to message key return code {0} from SQLConnect(handle, {1}, ****, {2}) with message {3} not found! Check that DSHOME or APT_RESPATH is set."
Regards,
Shree
785-816-0728
vinnz
Participant
Posts: 92
Joined: Tue Feb 17, 2004 9:23 pm

Post by vinnz »

Are you connecting to SQL Server or MySQL ?
asorrell
Posts: 1707
Joined: Fri Apr 04, 2003 2:00 pm
Location: Colleyville, Texas

Post by asorrell »

Vinnz beat me to it - but that is the issue from what I can see. It looks like you are trying to connect to the Open Source "MySQL" database using the IBM bundled drivers for "Microsoft SQL Server" - two entirely different databases.

IBM doesn't bundle drivers for MySQL... You'd have to find and install drivers and then try to configure them correctly in .odbc.ini - something that may or may not work...
Andy Sorrell
Certified DataStage Consultant
IBM Analytics Champion 2009 - 2020
Post Reply