Typo is fixed in the database.yml file. Now all the configuration settings will be made via environment.rb file.