mssql_connect() - Unable to connect to server
| From: | Felipe Nascimento | Date: | Tue, 21 Oct 2003 13:11:52 +0000 |
| Subject: | mssql_connect() - Unable to connect to server | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-21848@lists.php.net to get a copy of this message | ||
Hi all,
I´ve seen some coments on the subject already, but I couldn´t put it to
work.
My set up is: Php 4.3.3 under Win - MSSQL 2000 - Win 2000 server - IIS
5.0. All in the same server.
php_mssql.dll is set as an extension, ntwdblib.dll is in the system32
directory.
My call to mssql_connect is:
mssql_connect("'MY_IP_ADRESS', 'user', ''"); (the password
is empty).
The Warning message:
"Warning: MS SQL: Unable to connect to server:" ....
Did I forget anything?
Is there something I have to do in the SQL Server? I am not used to MS
SQL Server, but I added a user with read and write privileges. Is there
something else?
Tks
Felipe
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003