On Jul 6, 2012, at 5:08 PM, Hai wrote:

> followed the instruction for installing dashboard, and created user
> 
> mysql -pmy_password -e "CREATE DATABASE dashboard CHARACTER SET utf8;CREATE 
> USER 'dashboard'@'localhost' IDENTIFIED BY 'my_password'; GRANT ALL 
> PRIVILEGES ON dashboard.* TO 'dashboard'@'localhost';"
> 
> however, I keep getting access denied error:
> 
> # rake RAILS_ENV=production db:migrate
> (in /usr/share/puppet-dashboard)
> rake aborted!
> Access denied for user 'dashboard'@'localhost' to database 
> 'dashboard_production'
> 
> (See full trace by running task with --trace)
> 
> 
> please help!

Your created a database 'dashboard'. Make sure to put that name into the 
'production:' section of your [dashboad_root]/config/database.yml file.

--
Peter Bukowinski

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to