[unixODBC-dev] Driver name not recognised in odbc.ini

anand.vasudevan at wipro.com anand.vasudevan at wipro.com
Thu Jun 9 10:45:19 BST 2005

Where should ODBCINI value be set?
Is there any file?


-----Original Message-----
From: unixodbc-dev-bounces at easysoft.com
[mailto:unixodbc-dev-bounces at easysoft.com] On Behalf Of Nick Gorham
Sent: Thursday, June 09, 2005 1:54 PM
To: Development issues and topics for unixODBC
Subject: Re: [unixODBC-dev] Driver name not recognised in odbc.ini

> But when I try to connect thru my application it gives me the
> error: -
> Failure in Connecting to Database -1
> [unixODBC][CA][ ODBC Driver]Unsupported driver name (0)
> However if I have the same entry in my .odbc.ini file which is in my
> home directory, the connection is successful.
> Can somebody point out what could be wrong here?

I would guess the ingres driver is reading the ini files itself instead
of using libodbcinst so its looking in the home one but not the system
one. Try setting ODBCINI to point to the system dsn.

The error is coming from the driver, you can see that by the addition of

the [CA] to the error message.

unixODBC-dev mailing list
unixODBC-dev at easysoft.com

Confidentiality Notice

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin at wipro.com immediately
and destroy all copies of this message and any attachments.

More information about the unixODBC-dev mailing list