Does the user 'gn' exist?
Are you using the correct password?
Does that user have permissions on the database?

Hint: "Login failed for user 'gn'" suggests that there is something wrong
with that account...

Regards
Joakim Andersson

> -----Original Message-----
> From: Gabor Niederlaender [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 09, 2002 12:26 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] MSSQL_connect() won't work
> 
> 
> Hello all!
> 
> I am desperately trying to connect to a Win2000 SQL-Server, but I
> always get the error message:
> 
> 
> Warning: MS SQL message: Login failed for user 'gn'. (severity 14) in
> c:\inetpub\wwwroot\test.php on line 11
> 
> Warning: MS SQL: Unable to connect to server: SERVER1 in
> c:\inetpub\wwwroot\test.php on line 11
> DATABASE FAILED TO RESPOND.
> 
> 
> Please help me, because I really don`t know what to do!
> 
> Best regards,
> Gabor
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

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

Reply via email to