Drupal 6.22 installation stuck at database configuration

When we install a new drupal 6.22, after the first 2 steps:

  1. Choose language
  2. Verify requirements

The third step “Set up database” may prevent you from installing successfully. There are not any error messages to show what the problem is either. How to do then?

During the installation you may have 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 you will know what to do now. Just copy default.settings and save it to /sites/default/.