How to solve: Drupal 6 installation stuck at database configuration

tags: People reported me this particular problem, and recently I experienced it myself: during the Drupal 6 installation process in the 'Database configuration' step, you might get stuck. Upon entering the right database credentials, the page reloads and shows the Database configuration form again, without any error.

After some searching around, I found what was causing this behaviour: During the installation I renamed the file /sites/default/default.settings.php to /sites/default/settings.php.

However, Drupal expects you to make a copy if this file, not rename it! So just make a copy of the default.settings.php file, and name it settings.php. When these 2 files are available, your installation should run without any problems.

Submitted by Sven on Sat, 29/11/2008 - 11:29 24 comments

Thx!

I ran into exactly the same problem and your solution did work. Thanks a lot!

exactly what i was looking ...great answer

thanks for this...i was tired to googling for this...but i found answer here....thanks

Thank you! this is noted in

Thank you! this is noted in the drupal install as the correct process but isn't described as necessary - you saved my day!

Thanks! Have been searching

Thanks! Have been searching for this one.

That Helped a Lot!

Thanks. I had some trouble setting Drupal 6.x on my localhost. Again, thank you.

thanks for this...i was tired

thanks for this...i was tired to googling for this...but i found answer here....thanks

Argh

Thanks for the reminder! This happened to me last time I installed Drupal too...

Thanks! Have been searching

Thanks! Have been searching for this one.

An Additional Important Note

First thanks for the solution. almost everybody installs drupal in "default" directory. as you know you can run multiple domains by just a drupal instalation, using directories named to that domains in the directory "sites".
if you want to run "somesite.com" and you rename "default" directory instead of copying it, you will face the same problem as renaming "default.settings.php" instead of copying it.

in brief:
do NOT rename "default" directory and "default.settings.php" file.

Thank you very much, this

Thank you very much, this fixed my issue. it seems to affect drupal 7 as well.

Thanks! Have been searching

Thanks! Have been searching for this one.

god bless you!

You provided the solution i was looking for!

Thanks.

thx

thx

This is gold. tHANKS

This is gold. tHANKS

Very interesting, i like this

Very interesting, i like this website.

That simple

Thank you! Been looking at my server configuration as I thought that there was an error there, but it is a simple mistake which in my opinion should give users a warning such as "default.settings.php required to continue install" as well as keeping the information entered in the form.

Thanks again.

great tip....

It got me through the installation since i'm new to this CMS I appreciate people that share experiences for everyone, teach a man to fish right :)

happy coding!!

Thank you thank you

Thank you thank you

nice..thank you :)

nice..thank you :)

thanks!!!!!!!!!!!

thank you !!!!!!!!!!!!!!!!!!!!!!

really thnx

really thnx

Thank you!

...Solved all my problems!

saved my life man. I was

saved my life man. I was about to pull my f'ing hair out!

Another Thanks

Something so simple - would think the Drupal team would see the usability problem here... Anyway thanks to you and Google I think my issue is resolved.

Guy

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options

  • Search

  • On the web

      • Sven Decabooter on Twitter
      • Sven Decabooter on LinkedIn
      • Sven Decabooter on Facebook
      • Sven Decabooter on Delicious
      • Sven Decabooter on LastFM
      • Sven Decabooter on FriendFeed
  • Drupal

    • Individual member of Drupal Association

      View Sven Decabooter's profile on drupal.org