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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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