[freetds] "Can't initiate unicode conversion" with unixODBC and freeTDS

James K. Lowden jklowden at schemamania.org
Wed Apr 27 19:03:28 EDT 2005


Hydak, Christopher wrote:
> [][unixODBC][FreeTDS][SQL Server]Login failed for user 'user'.
                                                          ^^^^
> [DBservername]
> Description = FreeTSD to Database Server
> Driver = TDS
> Servername = db.mycompany.com
> Database = DBname
> UID = user
        ^^^^ 
> PWD = "password"
> Trace = No
> Protocol = 4.2

Is there in fact a user named 'user' whose password is "password" (with
the quotes)?   I would guess you want to substitute the real username and
password here.  Try it with tsql and unixODBC's isql first.  

[Generally we don't recommend putting that kind of information in your
.ini file, but I assume you have a reason.]

Also, I wouldn't use TDS version 4.2 unless that's all your server
supports.  

HTH.

--jkl


More information about the FreeTDS mailing list