[freetds] How to specify uid and pwd in odbc.ini?

Marten Lehmann lehmann at cnm.de
Wed Jul 8 13:41:56 EDT 2009


Hello,

> This is what I use:
> 
> [PSQL]
> Description = CAPS
> Driver= PostgreSQL

well, I asked this question in the FreeTDS mailinglist since it is 
FreeTDS specifc. You are using the PostgreSQL driver here and this 
implements its own way to handle userids and passwords.

http://www.freetds.org/userguide/odbcconnattr.htm describes UID and PWD 
as "attributes used only in connection strings" and not as "attributes 
that may appear in odbc.ini". But why is it like that?

Kind regards
Marten


More information about the FreeTDS mailing list