Re: mssql_connect() - Unable to connect to server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The SQL Server wraper functions in PHP are based on SQL Server Client DLL's which can or can't be already on the system.

I would check to see if they are present in the machine that is running PHP...

Cheers and good luck ;)
Luis Ferro
TelaDigital.net

Felipe Nascimento wrote:

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





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



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux