Skip to Content.
Sympa Menu

freetds - Re: Connection problem with DBD::Sybase+FreeTDS to access MSSQL 6.5

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Bernard.ROYET AT sncf.fr
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: Connection problem with DBD::Sybase+FreeTDS to access MSSQL 6.5
  • Date: Wed, 8 Dec 1999 14:55:34 +0100


You're right !
I have only change in tds.h:
typedef long TDS_INT;
typedef unsigned long TDS_UINT;
by
typedef int TDS_INT;
typedef unsigned int TDS_UINT;

And it's working ! with FreeTDS 0.50 (with 0.47 I got a lot of unknow marker
!)

Thanks a lot.
Regards

Royet Bernard
Ingres/OpenIngres DBA
SNCF (French Railways)
bernard.royet AT sncf.fr

> ----------
> De : Brian Bruns[SMTP:camber AT umcc.ais.org]
> Répondre à : TDS Development Group
> Date : mercredi 8 décembre 1999 13:59
> A : TDS Development Group
> Objet : [freetds] Re: Connection problem with DBD::Sybase+FreeTDS to
> access MSSQL 6.5
>
>
> This is probably a 64bit issue. I have a DEC machine I can get to at
> work, so I'll see if I can sort it out there . Off the top of my head
> though, you may want to change the defines in tds.h so that TDS_INT is
> 32bit and not 64bit, etc...
>
> Brian
>
> On Wed, 8 Dec 1999 Bernard.ROYET AT sncf.fr wrote:
>
> > I am trying to access a MS-SQLServer 6.5 installation via DBD::Sybase
> (0.21)
> > + FreeTDS (0.47).
> > Everything works fine on a Sparc 5 with Solaris 7.
> > But I can't connect with a Dec Unix Box (OSF 4.0F) with the exactly same
> > configuration (same interfaces file also)
> > Here is a part of the freetds.log
> > 1999-12-07 10:27:04 inside tds_process_login_tokens()
> > 1999-12-07 10:27:04 inside tds_process_default_tokens() marker is aa
> > 1999-12-07 10:27:04 inside tds_process_default_tokens() marker is fd
> > 1999-12-07 10:27:04 leaving tds_process_login_tokens() returning 0
> > 1999-12-07 10:27:04 leaving ct_connect() returning 0
> >
> > Anyone got an idea ?
> > (I'm using DBI 1.13)
> > TIA
> >
> > Royet Bernard
> > Ingres/OpenIngres DBA
> > SNCF (French Railways)
> > bernard.royet AT sncf.fr
> >
>
>
> ---
> You are currently subscribed to freetds as: bernard.royet AT sncf.fr
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
>



  • Re: Connection problem with DBD::Sybase+FreeTDS to access MSSQL 6.5, Bernard . ROYET, 12/08/1999

Archive powered by MHonArc 2.6.24.

Top of Page