Drupal Database Installation Problem Solved

While installing Drupal sometimes you might get stuck on the database configuration page. After entering the data and submitting, the page just reloads and nothing happens. Follow the below steps for the solution.

1. I know you have already done this step, but just to mention, please go through the database details once again and confirm they are all OK. The username, password, database name, host everything.

2. Open sites\default\settings.php
Search for $db_url =
Enter the database details manually. The format is described below

mysql://username:password@localhost/databasename

Replace username, password, localhost and databasename with database user name, database password, database host and database name respectively

If no database password is set (mostly when using local installation) the format would be

mysql://username@localhost/databasename

Hope that solves this issue. Njoy 🙂

5 comments

Leave a comment

Your email address will not be published. Required fields are marked *