Can't migrate schema

Will Gant wrote:

rake aborted!
Mysql::Error: Lost connection to MySQL server during query: SELECT

Did you configure a database server in config/database.yml?

Eric