I found that there should be a space before the value behind the ":" delimiters. For example, this causes the rake db:create
command to fail:
In the database.yml file:
development: adapter: mysql2 encoding: utf8 reconnect: true database: Some_Silly_Database_development pool: 5 username: Jobs password:anythingapple socket: /tmp/mysql.sock
Just inserting a space between the colon separating the password and nothing, for example: password: anythingapple
Rake db: create works fine. One forgotten space makes diff. Hope this helps
source share