[clug-progsig] PEAR DB to connect to MS SQL Server? (SOLVED)

Shawn sgrover at open2space.com
Fri Aug 19 23:23:10 PDT 2005

On Friday 19 August 2005 00:21, Shawn wrote:
> I'm trying to connect to a database on the Microsoft SQL Server, using php
> and PEAR DB.  But I keep getting a connection error.
> Here's my function that establishes the connection:

I resolved this.  It turned out that FreeTDS needs to be installed, AND it has 
to have MSSQL support compiled into it.  It was installed for me, but wasn't 
compiled right.  I'm connecting now though, with the same code I posted 


More information about the clug-progsig mailing list