mysql password

36 views
Skip to first unread message

Joseph White

unread,
Oct 11, 2012, 1:09:25 PM10/11/12
to rubyonra...@googlegroups.com
Hello,

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? 

Joe

Sergio Campamá

unread,
Oct 11, 2012, 1:25:11 PM10/11/12
to rubyonra...@googlegroups.com
It should be plain text... What you need to store hashed is the user's passwords.

Best regards,



--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Documentation" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-docs/-/GeO40tVTp_QJ.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-do...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-docs?hl=en.

Reply all
Reply to author
Forward
0 new messages