https://bugzilla.wikimedia.org/show_bug.cgi?id=65808

            Bug ID: 65808
           Summary: MSSQL allows opening connections without $wgDBuser
                    being set
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Database
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to