Skip to Content.
Sympa Menu

freetds - RE: syntax for connecting to database with FreeTDS?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Tom Samplonius <tom AT sdf.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: RE: syntax for connecting to database with FreeTDS?
  • Date: Tue, 12 Dec 2000 19:37:36 -0800 (PST)



On Mon, 11 Dec 2000, aellist wrote:

> Yes - it is set as follows:
>
> SYBASE
> query tcp ether <IP> 5001
> master tcp ether <IP> 5001
>
> with IP replaced, of course.

...

> > > <?
> > > if (sybase_connect("$SERVER_IP_PORT","$USER","$PASS")) echo
> > > "CONNECTED!!!";
> > > ?>

You need to use the server name as defined in the interfaces file in the
connect function. In your case, the server name is just "SYBASE".

Tom





Archive powered by MHonArc 2.6.24.

Top of Page