| Message: 98232 |
 |
BY: Norm Scherer (nsche) DATE: 2012-08-12 18:13 SUBJECT: RE: mysql with a password Look in config for database.yml. That file has a section like this:
defaults: &defaults
adapter: mysql
encoding: utf8
reconnect: false
pool: 5
username: root
password:
host: localhost
Just edit it to put in the username and password that work for you. You should be able to then do a 'rake db:reset' or 'RAILS_ENV=production rake db:reset' and you will be good to go.
Enjoy
Norm | |