When adding database connection settings to settings.php by hand

Benjamin Melançon's picture
Submitted by Benjamin Melançon on 2011, January 7 - 14:29
  • Remember that the array you are defining has two defaults before you get into it! It's not simply $databases = array() as Drupal starts you off, it is a deeply nested array and you might as well start off like this:

    <?php
    $databases
    ['default']['default'] = array( ... );
    ?>
  • Explanation

  • gah! this is so annoying.
  • Book element

  • Gotcha