467,151 Members | 925 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,151 developers. It's quick & easy.

ODBC from Linux

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
  • viewed: 2663
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Bob | last post: by
1 post views Thread by Tom Jones | last post: by
4 posts views Thread by flupke | last post: by
10 posts views Thread by callmebill@gmail.com | last post: by
1 post views Thread by Tolik Gusin | last post: by
1 post views Thread by Tolik Gusin | last post: by
4 posts views Thread by pu | last post: by
3 posts views Thread by harsha.patibandla@gmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.