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:38:44 -0800


Everything works great until make install. The last output of make install
is as follows:

make[2]: Leaving directory `/home/rick/src/freetds-0.51/src/odbc'
Making install in server
make[2]: Entering directory `/home/rick/src/freetds-0.51/src/server'
make[2]: Leaving directory `/home/rick/src/freetds-0.51/src/server'
make[1]: Leaving directory `/home/rick/src/freetds-0.51/src'
/bin/sh ./mkinstalldirs /usr/local/freetds
if [ -f /usr/local/freetds/interfaces ]; \
then :; \
else \
/usr/bin/install -c -m 644 interfaces /usr/local/freetds; \
fi


I'm guessing that this is not supposed to happen. It happens everytime.

I'm on Redhat 7 with freetds 0.51

Any suggestions?

Rick Gigger
rick AT alpinenetworking.com


-----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