Drupal

Need to update your CMS database details?

Ever needed to update the database name, user or password for your content management system? The most common time I find I need to do this is when I'm moving a website from one server to another. Sometimes you can replicate the database details exactly, sometimes you can't.

I work predominately with Drupal, Magento and Wordpress content management systems. So where do you find the configuration for the database in these systems?

Drupal

File location from document root: /sites/default/settings.php