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 


here is freetds config
         query tcp tds4.2 1443
         master tcp tds4.2 1443

Sommai Fongnamthip

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to