Gmoney
2012-May-29 17:58 UTC
[Puppet Users] Puppet Dashboard: Setting up RAILS environment
no matter what I try I keep getting this error: rake RAILS_ENV=production db:migrate --trace ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate rake aborted! Access denied for user ''dashboard''@''localhost'' to database ''production'' I have setup the dashboard user in mysql DB, tested it correctly, checked the permissions on database.yml file, everything looks according tot he docs. PLEASE .. can someone tell me what I am doing wrong here, thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Gmoney
2012-May-29 19:59 UTC
[Puppet Users] Re: Puppet Dashboard: Setting up RAILS environment
solved my own issue, the DB name should be: dashboard, comes as production_dashboard in Ubuntu 12.04 database.yml file. then: rake RAILS_ENV=production db:remove rake RAILS_ENV=production db:create rake RAILS_ENV=production db:migrate I hope this helps the poor soul that stumbles across this as I have. On May 29, 1:58 pm, Gmoney <greg.caldwe...@gmail.com> wrote:> no matter what I try I keep getting this error: > > rake RAILS_ENV=production db:migrate --trace > ** Invoke db:migrate (first_time) > ** Invoke environment (first_time) > ** Execute environment > ** Execute db:migrate > rake aborted! > Access denied for user ''dashboard''@''localhost'' to database > ''production'' > > I have setup the dashboard user in mysql DB, tested it correctly, > checked the permissions on database.yml file, everything looks > according tot he docs. > > PLEASE .. can someone tell me what I am doing wrong here, thanks.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.