Skip to Content.
Sympa Menu

freetds - MSSQL_CONNECT Doesn't Work :(

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Alex" <amartin AT gnst.com>
  • To: freetds
  • Subject: MSSQL_CONNECT Doesn't Work :(
  • Date: Fri, 28 Jan 2000 11:1:45


Hi there!
I have Apache+PHP3+Freetds0.50 installed in a LinuxBox and trying to access
to SQL Server 6.5

the following code:
<?php
$myCon = mssql_connect ("sqlServer","user","password");
mssql_select_db ("mydb",$myCon);
?>
$myCon allways gets a incorrect linkId (void)!
It seems like mssql_connect function doesn't work fine :(, and
mssql_select_db drops one error because $myCon haven't a correct value.

My interface file looks like:
sqlServer
query tcp ether 192.168.0.2 1433
master tcp ether 192.168.0.2 1433

Somebody could help me?
Thanks
Alex




Archive powered by MHonArc 2.6.24.

Top of Page