Ernesto, Best to write something yourself, it's not something that is generic enough to warrant inclusion in the core, and it really falls under the domain of `administration` which we try to avoid (in spite of hacks like deprec or something)
It's better to handle this as part of your server provisioning, than have a `once` task built into your `many` deployments system. - Lee On 16 August 2010 16:23, etagwerker <[email protected]> wrote: > Hello, > > I've just deployed a new application and I was wondering if there is a > task for creating the database and then the database user in MySQL. > > This is what I wrote in my deploy.rb: > http://gist.github.com/527117 (I'm not happy that lines 9 & 10 display > the root password in the console) > > I just want to make sure that I'm not reinventing the wheel. I > searched for a task that would do what I wanted but couldn't find > any. > > Thanks! > > - Ernesto > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected]<capistrano%[email protected]>For > more options, visit this group at > http://groups.google.com/group/capistrano?hl=en -- * You received this message because you are subscribed to the Google Groups "Capistrano" 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/capistrano?hl=en
