By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,586 Members | 2,347 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,586 IT Pros & Developers. It's quick & easy.

ODBC from Linux

P: n/a
Hello,

i have a problem connection from an unixODBC to an DB2 8.1 Instance.
My DB2 is registered properly and i can access it via db2 client,
now i want to establish a connection via odbc from another product.

I use unixODBC on a Suse Linux 9
The entries for odbcinst.ini

[ODBC]
Trace = yes
Tracefile = Drivers]
DB2 Driver = Installed

[DB2]
Description = DB2 Driver
#Driver = /usr/lib/libodbc.so
Driver = /opt/IBM/db2/V8.1/odbc/lib/libodbc.so
FileUsage = 1
DontDLClose = 1

and the entries for odbc.ini

[DEFAULT]
Driver = DB2

[ALBDB2]
Description = Connection to DB2
Driver = DB2
Database = ALBDB2
All is done like it is in the documentation.
When i want to test the connection with isql

i always get the following error:
[S1000][unixODBC]
[ISQL]ERROR: Could not SQLConnect

The messages in the odbctrace are not very satisfying and do not
lead me to a solution, so i ask in this newsgroup.

Does anyone had similiar problems and may show me a solution ?
Thanks in advance



Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.