Last modified: 2014-05-28 14:00:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67808, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65808 - MSSQL allows opening connections without $wgDBuser being set
MSSQL allows opening connections without $wgDBuser being set
Status: NEW
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.24rc
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: mssql
  Show dependency treegraph
 
Reported: 2014-05-27 14:54 UTC by Rainer Rillke @commons.wikimedia
Modified: 2014-05-28 14:00 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rainer Rillke @commons.wikimedia 2014-05-27 14:54:09 UTC
When using $wgDBWindowsAuthentication [option "Windows Authentication"] in the WebInstaller, $wgDBuser is left empty. This causes that no connection is created in DataBase::__construct() and the consequence is that we get an error message telling us that it cannot connect to the database (despite it could in theory) when attempting to access the main page.

Result:
-------------
-------------
Sorry! This site is experiencing technical difficulties.

Try waiting a few minutes and reloading.

(Cannot contact the database server)

--------------------------------------------------------------------------------

You can try searching via Google in the meantime.
Note that their indexes of our content may be out of date. 
-------------
-------------

Expected result:
Working wiki despite no DB user name.

Woraround:
Set a dummy user name.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links