Errors when trying to create a mysql database for rails spree project

Hi I am getting an error when I am installing spree onto a new rails project utilising a mysql database. Installing spree I get the following error in the error text file and also my database yaml file is atttached.

Attachments: http://www.ruby-forum.com/attachment/7459/errors.txt http://www.ruby-forum.com/attachment/7460/database_yaml.txt

what’s the error message (not the stack trace)?

Hi I am getting an error when I am installing spree onto a new rails project utilising a mysql database. Installing spree I get the following error in the error text file and also my database yaml file is atttached.

Attachments: http://www.ruby-forum.com/attachment/7459/errors.txt http://www.ruby-forum.com/attachment/7460/database_yaml.txt

Your database.yml file is not correctly formatted. It must have leading spaces on the nested lines. Look at the default file created for a new rails project to see. Also make sure there are no tabs in the file.

Colin

Here is the original error:- rake aborted! ActiveRecord::ConnectionNotEstablished