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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
43 + 16 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Wed Apr 24 01:01:31 2024 UTC