[freetds] SQL error during odbc_connect in PHP using FreeTDS
ZIGLIO, Frediano, VF-IT
Frediano.Ziglio at vodafone.com
Thu Jan 5 05:21:41 EST 2006
>
> Thanks for your idea, have changed my freetds_mssql.conf and
> now I have 8.0 version of TDS. Also odbc.ini is now defined
> easier, as for odbcinst.ini it is like this :
>
> ----------------------------
> [MSSQLServer]
> Description = ODBC for MS SQL Server via FreeTDS
> Driver = /usr/lib/libtdsodbc_mssql.so.0
> Driver64 = /usr/lib
> Setup = /usr/lib/libtdsodbc_mssql.so.0.0.0
> Setup64 = /usr/lib
> UsageCount = 1
> CPTimeout =
> CPReuse =
> ----------------------------
>
> Have tried to run my script also from shell and it return the
> same error. When I use TDSDUMPCONFIG=stdout php mssql.php or
> TDSDUMP=stdout php mssql.php - mentioned error is there two
> times. Also tried to change my freetds_mssql.conf and appended this :
>
> ----------------------------
> dump file = /tmp/freetds.log
> dump file append = yes
> ----------------------------
>
> But after running script few times there is nothing in /tmp :o(
>
> SP
>
Just for curiosity yesterday I downloaded Mandriva package to check
diffs. It seems changes affect only file names to avoid conflicts. It's
strange that using line I suggested do not give you a lot of
informations as it should do. Perhaps does script generate a "stdout"
file instead??
freddy77
More information about the FreeTDS
mailing list