Hi all ... i dont have power anymore ... im NOT able to Connect to my MSSQL Database trought PHP and i dont know WHY!
example for a Connection to MSSQL
mssql_connect("L065\SQLEXPRESS","sa",'passwort"');
( my password got a " at the end thats why im using ' ' for the password and not " " )
selection of a Database
mssql_select_db("kal_db");
edit:// not even a simple Ranking Script is Running ...
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: L065\SQLEXPRESS in
Warning: mssql_select_db() [function.mssql-select-db]: message: Could not locate entry in sysdatabases for database 'kal_db'. No entry found with that name. Make sure that the name is entered correctly. (severity 16)
Tryied to Connect directly to my Database kal_db but its also not working :S
mssql_connect("L065\SQLEXPRESS\Datenbanken\kal_db","sa",'password"');
.....
also not working :SCode:<?php $verbindung = mssql_connect('L065\SQLEXPRESS', 'sa', 'password"'); mssql_select_db('[kal_db]', $verbindung); ?>



Reply With Quote

