Omar wrote:
Hello.
I have a sql server named CLUSTER01 (on win 2k servers, iis, etc), i try to
connect to it :
$db_conn = mssql_connect("CLUSTER01", $db_usuario, $db_password);

and it gives me this message:
Warning: 0 is not a MS SQL link index in x

The user name and password are correctly created in the logins of the sql
server.
What else could be?

Thank you for your help.

Have you tried: Maybe substitute sa for the user and the sa password (JUST FOR TESTING). Try the FQDN of the server, or just put the IP address.

$server = "server.domain.com";
$user = "dbuser";
$password = "dbpassword";

mssql_connect($server,$user,$password);

Check php.ini, uncomment out
extension=php_mssql.dll

If your running php on a server that does not have SQL Server on it, I think at least you need to install the SQL client tools.

Good luck!

Mike Smith

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to