Manual:$wgDBname

Details
Name of the database used by current installation of MediaWiki.


 * Caution
 * Do not change  after Setup.php has been included. Note: Setup.php initializes various paths, incudes some common files, starts sessions, and performs various other setup tasks for a request.  It is not related to the installation or setup of MediaWiki.
 * Only files in include/db/ should use, everything else should use the   method provided by the   class.