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

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Thu Apr 28 03:10:46 EDT 2005


> 
> I am experiencing this problem when trying to run isql against my DSN.
> I'm running SunOS 5.6.  I've tried disabling libiconv on both freeTDS
> and unixODBC and also configuring using the GNU 
> libiconv....to no avail.
> 
> 
> [S1000][unixODBC][FreeTDS][SQL Server]Unable to connect to data source
> [IM003][unixODBC][Driver Manager]Can't initiate unicode conversion

It seems unixODBC didn't find iconv library.

> [28000][unixODBC][FreeTDS][SQL Server]Login incorrect.
> [][unixODBC][FreeTDS][SQL Server]Login failed for user 'user'.
> [ISQL]ERROR: Could not SQLConnect
> 
> Here are the versions I'm running:
> 
> GNU libiconv 1.9.1
> FreeTDS 0.63
> UnixODBC 2.2.11
> 
> Here is my odbc.ini file
> 
> [DBservername]
> Description = FreeTSD to Database Server
> Driver = TDS
> Servername = db.mycompany.com

So you compiled freetds.conf too...

> Database = DBname
> UID = user
> PWD = "password"

UID and PWD not used.

> Trace = No
> Protocol = 4.2
> Port = 1433
> 
> Any help would be very appreciative.
> 
> Chris
> 

Does tsql work ?

freddy77



More information about the FreeTDS mailing list