classico errore:
ho installato apache e configurato per mssql. ho anche abilitato mysql.codice:Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: localhost: in C:\lavori\webserver\tucano\config.php on line
vorrei sapere se è possibile che i due server generino conflitto.
L'autenticazione a mssql è fatta tramite il login di windows. in questo caso che parametri devo impostare per user e pwd?
<?PHP
$MsSQLIP="localhost:"; // IP del database
$MsSQLUsr="Johnnyd"; // Username di accesso
$MsSQLPwd="******"; // Password di accesso
$MsSQLDB="BPC"; // Database da usare
$conn=mssql_connect($MsSQLIP,$MsSQLUsr,$MsSQLPwd) or die(mssql_get_last_message());
if (!$conn)
{ echo "Could not connect to SQL-Server"."
"; }
else{}
//{ echo "<u>Connection activated!</u>"."
"; }
mssql_select_db($MsSQLDB, $conn) or die ("Could not open database");
?>