Configuration file
From MoodleDocs
You may need to edit the config.php file if, for example, you change you database password or change servers completely.
Note: You are currently viewing documentation for Moodle 3.7. Up-to-date documentation for the latest stable version of Moodle may be available here: Configuration file.
You may need to edit the config.php file if, for example, you change you database password or change servers completely.