Issue #9141 has been updated by Nick Fagerlund.
> Also, the document makes no mention of a **recommended ‘dashboard’ user** for > the database, apart from the sql to create the dashboard user. It does say > **Choose database and user names that make sense to you, and a secure > password**. Maybe that needs clarification. Ah. Yeah, you're right. > I found the "old" documentation of using rake much easier, and was surprised > to see them missing and replace with command line options when everything > else was a rake call, with a footnote to the rake db:create. I think they > should have equal billing. So, okay: The problem I'm running into is that the rake tasks are an obviously better interface, but they only work if: * The database user already exists * The database user has all privileges on the database you're going to be using The database itself doesn't have to exist, but those two things have to be true, and the only way for them to be true without using raw SQL commands (or some other external tool) is to hand Dashboard the keys to the root MySQL user. Which strikes me as a terrible thing to recommend to users. (In fact, I kind of freaked out when I realized that was the default in the database.yml.example file we ship, and I'm about to submit a patch to change it.) So my choices seem to be recommending handing over the keys to MySQL's root, or cluttering up the install guide with some ugly raw SQL. I opted for the latter. Do you think I should do the former, or just be more clear about why it is the way it is? > As for finding the footnote... I filed #9274 for this. Does the solution I mentioned there help? ---------------------------------------- Bug #9141: Dashbord documentation footnote for creating database via rake based isn't correct https://projects.puppetlabs.com/issues/9141 Author: John Warburton Status: Needs More Information Priority: Normal Assignee: Nick Fagerlund Category: guides Target version: Keywords: Branch: Affected URL: http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#fn:rakedbcreate I used the rake commands on a completely fresh MySQL database on a brand new machine for dashboard 1.2rc6, and was surprised the documentation now said to use the command line I don't think this is correct (at worst), and that the foot note system is **really** difficult to read (at best) -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
