According to the documentation I must create a settings.php file and add some stuff to the end. But whenever I create my own settings.php file, installation fails with:

The specified database connection is not defined: default

Anyone ever get it to work?

Comments

bander2’s picture

I have realized that I cannot just add some stuff to settings.php and expect the installer to do the rest. I was expecting the installer to write the database connection information into the settings.php file. That is because when I added it myself, I got errors about missing tables. But I now believe that is because I had the database already created. So I learned that:

  1. If you are going to manually create the settings.php file, Drupal will not touch it on installation.
  2. If a settings.php file is present and a database exists (even if it's empty), Drupal believes that it is already installed.

- Brendan