php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15422 mssql_connect fails with username "\"
Submitted: 2002-02-07 04:57 UTC Modified: 2002-09-21 02:10 UTC
Votes:3
Avg. Score:4.0 ± 0.8
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: daniel dot schneller at gfd dot de Assigned:
Status: No Feedback Package: MSSQL related
PHP Version: 4.0.6 OS: NT4
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: daniel dot schneller at gfd dot de
New email:
PHP Version: OS:

 

 [2002-02-07 04:57 UTC] daniel dot schneller at gfd dot de
When trying to connect to a MS SQL Server 7 on the same machine using

$linkId = mssql_connect($SqlHost,$SqlUser,$SqlPass)

I get the following error:

Warning:  MS SQL message:  Login failed for user '\'. (severity 14) in ... on line ...

I have tried to replace the variables with literals, changed the username/password settings in the DB to "" but still get the same message over an over.

I use PHP4.0.6 on NT4 with Apache over CGI.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-07 05:02 UTC] daniel dot schneller at gfd dot de
Of course the username is not actually "\" but "intranetUser"
 [2002-08-17 10:29 UTC] kalowsky@php.net
What do the MSSQL does say this message means?
 [2002-09-21 02:10 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 07 02:01:29 2024 UTC