Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
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


Thread View

Thread Author Date
mysql with a passwordMark Clayton2012-08-10 20:01
      RE: mysql with a passwordNorm Scherer2012-08-12 18:13
      RE: mysql with a passwordNorm Scherer2012-08-14 18:11
            RE: mysql with a passwordMark Clayton2012-08-14 22:56
                  RE: mysql with a passwordNorm Scherer2012-08-15 00:16

Post a followup to this message