freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
RE: syntax for connecting to database with FreeTDS?
- 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
-
syntax for connecting to database with FreeTDS?,
aellist, 12/11/2000
- <Possible follow-up(s)>
- RE: syntax for connecting to database with FreeTDS?, Wasson, Tim, 12/11/2000
- RE: syntax for connecting to database with FreeTDS?, aellist, 12/11/2000
- Re: syntax for connecting to database with FreeTDS?, bao nguyen, 12/11/2000
- RE: syntax for connecting to database with FreeTDS?, Tom Samplonius, 12/12/2000
- RE: syntax for connecting to database with FreeTDS?, aellist, 12/14/2000
Archive powered by MHonArc 2.6.24.