Manual:$wgDBadminpassword

Details
Database password that was used when running maintenance scripts. This was normally set along with $wgDBadminuser in LocalSettings.php.

Since MediaWiki version 1.16,  in AdminSettings.php is no longer used.