Hi All

I am trying to install puppet dashboard and it is failing like this

r...@sys-ubuntu { ~/puppet-dashboard }$ rake install
(in /home/iqbala/puppet-dashboard)
Couldn't create database for {"encoding"=>"utf8", "username"=>"root",
"adapter"=>"mysql", "database"=>"dashboard_development"}, charset:
utf8, collation: utf8_unicode_ci (if you set the charset manually,
make sure you have a matching collation)
-- create_table("assignments", {:force=>true})
rake aborted!
Access denied for user 'root'@'localhost' (using password: NO)

(See full trace by running task with --trace)

I like to grant a non root user to create a database with a password .
What file to change on puppet dashboard to achieve that?


Here is the rake install with --trace

r...@sys-ubuntu { ~/puppet-dashboard }$ rake install --trace
(in /home/iqbala/puppet-dashboard)
** Invoke install (first_time)
** Invoke copy_config (first_time)
** Invoke config/database.yml (first_time, not_needed)
** Invoke config/database.yml.example (first_time, not_needed)
** Execute copy_config
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:load_config
** Execute db:create
Couldn't create database for {"encoding"=>"utf8", "username"=>"root",
"adapter"=>"mysql", "database"=>"dashboard_development"}, charset:
utf8, collation: utf8_unicode_ci (if you set the charset manually,
make sure you have a matching collation)
** Invoke db:schema:load (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:schema:load
-- create_table("assignments", {:force=>true})
rake aborted!
Access denied for user 'root'@'localhost' (using password: NO)
[..]

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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