[freetds] Re: Unable to connect to MS SQL 2000
Daniel Fazekas
fdsubs at axelero.hu
Wed Mar 24 23:29:55 EST 2004
On Mar 24, 2004, at 21:26, rconner at commspeed.net wrote:
make sure the string specified in $myServer...
> $myServer = "myserver";
is the name of a section with the correct information in freetds.conf...
> # A typical Microsoft SQL Server 2000 configuration
> [MyServer2k]
> host = myserver
> port = 1433
> tds version = 4.2
for example if $myServer is set to "myserver" there should be a section
titled "[myserver]"
You specify the hostname in the freetds conf. You don't tell the
hostname to mssql_connect(). It's the .conf section name you have to
use there.
--
fds
More information about the FreeTDS
mailing list