[unixODBC-support] Installing teradata driver

Vadim Kutsyy vadim at kutsyy.com
Wed Nov 7 18:46:26 GMT 2007


Martin J. Evans wrote:
> Vadim Kutsyy wrote:
>> On Wed, 2007-11-07 at 18:06 +0000, Nick Gorham wrote:
>>  
>>>> I am trying to install Teradata ODBC driver and I am having some 
>>>> problem.  I am running CentOS 5 and I was able to install it 
>>>> before, but now I am getting an error on connection:
>>>>
>>>> $ isql -v TDDB <user> pass>
>>>> [ISQL]ERROR: Could not SQLConnect
>>>
>> strace doesn't show that anything is missing.  But it does show that
>> unixODBC is trying to access /etc/passwd, Is there a reason why unix
>> ODBC needs /etc/passwd?  
> I would guess to try and find your home dir so it can locate user 
> DSNs. e.g. getuid to get your user ID, then look it up with getpwuid 
> to get your home directory and find any .odbc.ini files. If may be if 
> you set HOMEDIR in your environment unixODBC will ignore your uid but 
> I don't know for sure.
>
> Martin
>
> _________
That makes sense (HOMEDIR didn't change behavior).

But I am back to trying to make Teradata driver work.  Any recommendations?

Thanks,



More information about the unixODBC-support mailing list