[freetds] dblib problems

Frank M. Kromann frank at kromann.info
Fri Jul 11 18:08:32 EDT 2003


Hi,

I have compiled dblib on Win32, and changed the mssql extension for PHP to
use this library. Everything compiles links and loads fine, but when I try
to connect I get this error:

src/tds/login.c: tds_connect (timed): Invalid argument

and the dump file contains these lines

Starting log file for FreeTDS 0.60
        on 2003-07-11 17:03:21 with debug level 99.
Using trivial iconv from
        C:\php\freetds\src\replacements\iconv.c
names for ISO-8859-1: ISO-8859-1
names for US-ASCII: US-ASCII
names for UCS-2LE: UCS-2LE
names for UCS-2BE: (null)
iconv to convert client-side data to the "ISO-8859-1" character set
17:03:21 tds_iconv_info_init: converting "ISO-8859-1"->"UCS-2LE"
17:03:21 tds_iconv_info_init: converting "US-ASCII"->"UCS-2LE"
17:03:21 Connecting to 127.0.0.1 port 1433, TDS 7.0.

What am I missing ?

I'm using FreeTDS from CVS (with a few modifications to compile dblib.dll
and dblib.lib under Win32).

- Frank





More information about the FreeTDS mailing list