Skip to Content.
Sympa Menu

freetds - RE: [freetds] php4/freetds on debian woody

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Miller, Ben" <bmiller AT guruconsult.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] php4/freetds on debian woody
  • Date: Thu, 19 Dec 2002 17:31:32 -0500


[gurudb]
host = 192.168.1.14
port = 1433
tds version = 7.0

and test.php:

$connection = sybase_connect('gurusql', 'user', 'secret');


Yep, that's right. I realized I was a moron as I was pasting the code into
this message. changed gurusql to gurudb and all is fine.

*sigh* thanks Brad

ben




-----Original Message-----
From: Bradley Bell [mailto:bradleyb AT u.washington.edu]
Sent: Thu 12/19/2002 5:12 PM
To: freetds AT lists.ibiblio.org
Cc:
Subject: RE: [freetds] php4/freetds on debian woody
> Still getting the same error. From what I read, interfaces is
> the oldschool file that the sybase client used, freetds moved
> that information into freetds.conf but php still uses the
> intefaces file? Please correct me if i'm wrong, I'm obviously
> missing something here (and I have no idea what it is) :)
>
> What are you using as your connect string in php? Does the server name
> you're using in your connect string match a server name in freetds.conf?

and, what does the server entry in freetds.conf look like?

-brad
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds



<<winmail.dat>>




Archive powered by MHonArc 2.6.24.

Top of Page