MS SQL 6.5 connection

From: Date: Tue, 07 Aug 2001 09:00:20 +0000
Subject: MS SQL 6.5 connection
Groups: php.db 
Request: Send a blank email to php-db+get-11102@lists.php.net to get a copy of this message
Hi, I've been setting PHP 4.0.6 with apache 1.3.20 in Linux Red Hat 6.2 to connect MS SQL 6.5 via TDS4.2 (freetds-0.51). Why I can't connect to MS SQL 6.5? here my code in php <? $conn = "SQLSERVER"; // host or connection name in /usr/local/freetds/interf$ $myuser = "sa"; $mypass = ""; $dbc=mssql_connect($conn, $myuser, $mypass) or die ("Unable to connect MS SQL"); ?> here is freetds config SQLSERVER
        query tcp tds4.2 203.144.255.71 1443
        master tcp tds4.2 203.144.255.71 1443
Regards, Sommai Fongnamthip

« previous php.db (#11102) next »