Skip to Content.
Sympa Menu

freetds - Re: sql server 7 problem - php

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Rick Gigger" <rick AT alpinenetworking.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: sql server 7 problem - php
  • Date: Wed, 21 Mar 2001 22:17:58 -0800


I have tried both way. Both yield the same

-----Original Message-----
From: bounce-freetds-128533 AT franklin.oit.unc.edu
[mailto:bounce-freetds-128533 AT franklin.oit.unc.edu]On Behalf Of Darryl
Friesen
Sent: Wednesday, March 21, 2001 7:28 PM
To: TDS Development Group
Subject: [freetds] Re: sql server 7 problem - php




> I am trying to connect to sqlserver 7 from linux/php.
>
> I am using redhat 7, php 4.0.4pl1, sql server 7, freetds 0.51
>
> I am trying to connect like this
>
> $mssqlcon = mssql_pconnect("the_ip_of_the_sqlserver", "myusername",
> "mypassword");

That could be the problem there. The IP address and port number of the
server go in the interface file (default location is the directory where
FreeTDS is installed). Associated with that info is a server name (not DNS
name). That's what you use in the connect.


- Darryl

----------------------------------------------------------------------
Darryl Friesen, B.Sc., Programmer/Analyst Darryl.Friesen AT usask.ca
Education & Research Technology Services, http://gollum.usask.ca/
Department of Computing Services,
University of Saskatchewan
----------------------------------------------------------------------
"Go not to the Elves for counsel, for they will say both no and yes"



---
You are currently subscribed to freetds as: [rick AT alpinenetworking.com]
To unsubscribe, forward this message to
$subst('Email.Unsub')





Archive powered by MHonArc 2.6.24.

Top of Page