[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: best practice creating database



On Fri, Oct 08, 2004 at 03:45:26PM +1000, Andrew Pollock wrote:
> On Thu, Oct 07, 2004 at 05:19:07PM +0200, Uwe Steinmann wrote:
> > On Thu, Oct 07, 2004 at 03:38:59PM +0200, Philipp Matthias Hahn wrote:
> > > Hello!
> > > 
> > > What is consideres best practice when a package uses a SQL database
> > > (mysql, postgresql) and needs to create its own catalog and/or tables?
> > > 
> > > [ ] Disable the package until someone has manually setup the database?
> > > [ ] Ask a lot of questions via debconf and try to setup in postconf?
> > I'd go for the second option.
> > 
> [snip]
> > 
> > Setting up a database is somewhat errorprune but still something
> > achievable in a postinst script.
> 
> Methinks we need something like wwwconfig-common, but for databases...
wwwconfig-common does most of what needs to be done for setting
up a database. What are you missing?

  Uwe

-- 
  MMK GmbH, Universitaetsstr. 11, 58097 Hagen
  Uwe.Steinmann@mmk-hagen.de
  Tel: +2331 840446    Fax: +2331 843920

Attachment: signature.asc
Description: Digital signature


Reply to: