[freetds] Sybase Replication Server with Freetds?

Wechsler, Steven Steven.Wechsler at mtvstaff.com
Mon Apr 30 16:36:40 EDT 2007


I figured out the problem - we had "text size = 64512" set in the global
section of freetds.conf. I looked at the FreeTDS source code and saw
that it does "set text size" (not a valid RCL statement) if text size is
set in the config file. Once I modified freetds.conf, everything worked
properly.


Steve Wechsler | steven.wechsler at mtvstaff.com
Sybase/SQL Server/MySQL Database Administrator
212-846-5683

MTV Networks

 

> -----Original Message-----
> From: freetds-bounces at lists.ibiblio.org 
> [mailto:freetds-bounces at lists.ibiblio.org] On Behalf Of James 
> K. Lowden
> Sent: Monday, April 30, 2007 4:20 PM
> To: FreeTDS Development Group
> Subject: Re: [freetds] Sybase Replication Server with Freetds?
> 
> Wechsler, Steven wrote:
> > I am running FreeTDS 0.64 and am trying to connect to 
> Sybase Repserver
> > 12.6. Using TSQL I get the following error:
> > 
> > $ tsql -Usa -S liverep1
> > locale is "en_US"
> > locale charset is "ISO-8859-1"
> > Password: 
> > Msg 2056, Level 12, State 0, Server liverep1, Line 0
> > Line 1, character 14: Incorrect syntax with '64512'.
> > There was a problem connecting to the server
> 
> Please set TDSDUMP and post the log, if you would.  This error is very
> peculiar.  
> 
> I guess the server might be demanding/expecting some kind of session
> setting it's not getting.  I want to have a look at the 
> capacity dialog.  



More information about the FreeTDS mailing list