Translations:Manual:DumpBackup.php/23/en

This script connects to the database using the username and password defined by $dbadminuser and $dbadminpassword, which are normally set in $localsettings. Although $adminsettings is obsolete, it can use the username and password set in that file too. Usually $wgDBadminuser is a user with more privileges than the one in $dbuser, but for running dumpBackup.php no extra privileges are required, so the usernames and passwords may be the same. If the variables are not set, dumpBackup.php will fail when trying to connect to the database: