Alguien sabe porqué me está sucediendo este error de conexión:
Código:
En el archivo PHP solo tengo esto:Warning: mssql_connect() [function.mssql-connect]: message: Login failed. (severity 14) in XXXXXXXXXXXXXXXX on line 2 Warning: mssql_connect() [function.mssql-connect]: General SQL Server error: Check messages from the SQL Server (severity 14) in XXXXXXXXXXXXXXXX on line 2 Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: xx.xx.xx.xx:1000 in XXXXXXXXXXXXXXXX on line 2 Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in XXXXXXXXXXXXXXXX on line 3 Warning: mssql_close(): supplied argument is not a valid MS SQL-Link resource in XXXXXXXXXXXXXXXX on line 4
Código PHP:
$conectID = mssql_connect("xx.xx.xx.xx:1000","usuario","pass");
mssql_select_db("nombreBD",$conectID);
mssql_close($conectID);