Re: mssql_connect() - Unable to connect to server

From: Date: Tue, 21 Oct 2003 12:31:44 +0000
Subject: Re: mssql_connect() - Unable to connect to server
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-21849@lists.php.net to get a copy of this message
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


« previous php.windows (#21849) next »