mysql password


In order for rake db:create to work, ruby on rails must be able to access the db server. The information used to do so is in database.yml, which includes user and password. At some point in the documentation I read that the pw should be a hash, but can no longer find this reference.

So, what form should the passwords be in for rake to connect to the mysql database?


It should be plain text… What you need to store hashed is the user’s passwords.

Best regards,