Skip to Content.
Sympa Menu

freetds - Re: [freetds] SQL error during odbc_connect in PHP using FreeTDS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] SQL error during odbc_connect in PHP using FreeTDS
  • Date: Thu, 5 Jan 2006 11:21:41 +0100

>
> 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




Archive powered by MHonArc 2.6.24.

Top of Page