Re: Connecting MS SQL

From: Date: Thu, 13 Dec 2001 18:20:51 +0000
Subject: Re: Connecting MS SQL
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-77633@lists.php.net to get a copy of this message
Hi you're getting MS SQL messages so you have the MS SQL library installed ok (otherwise you'd be getting 'undefined function' or thereabouts...) The problem is most likely with MS SQL itself - is the username/password set up and is access allowed from the machine your making the connection from (most likely localhost)? -- Shane On Thursday 13 Dec 2001 6:14 pm, pong-TC wrote: > Hello All > > I am trying to connect MS SQL, but got the error message as follows: > > Warning: MS SQL message: Login failed for user 'pong'. (severity 14) in > d:\inetpub\wwwroot\cgi-bin\mailman.php on line 26 > > Warning: MS SQL: Unable to connect to server: dilbert in > d:\inetpub\wwwroot\cgi-bin\mailman.php on line 26 > Cannot connect to the database. > > I followed all instructions before I did try ie. copy php_mssql.dll to > winnt/system32 directory and uncomment extension in php.ini. Still no > luck, anyone, please help. I am running PHP 4.1.0 on IIS 5. > > Thank you. > Pong

« previous php.general (#77633) next »