Manual:$wgDBname

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

Caution:

Do not change  after st>Special:MyLanguage/Manual:Setup.php|Setup.php has been included. Note: st2>Special:MyLanguage/Manual:Setup.php|Setup.php initializes various paths, includes 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 [//svn.wikimedia.org/doc/group__Database.html include/db/] should use, everything else should use the   method provided by the   class.