arrgh I am pulling my hair out over this, sifting thru reams of search results and I just can't make it work
$myServer = "12.147.60.131,1433";
$myUser = "XXX";
$myPass = "XXX";
//connection to the database
$dbhandle = mssql_connect($myServer, $myUser, $myPass)
or die("Couldn't connect to SQL Server on $myServer");
I had support install mssql extension for php last night on my vps and I see the function is working, but it will not connect.
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 12.147.60.131,1433 in
The host of the sql server says the version is sql 2000 and that he has no problem connecting with php. and the above is exactly how he does it. I am pretty much stumped, anyone had this problem? anyone have solutions?
Thanks a lot!


LinkBack URL
About LinkBacks




Reply With Quote
Bookmarks