Re: RFC: common database policy/infrastracture
On Thu, 2004-12-16 at 15:34 +0100, Andreas Tille wrote:
> On Thu, 16 Dec 2004, Olaf van der Spek wrote:
> > Is that the majority or the minority of applications?
> > Take for example a web application like a forum. It requires the
> > password so it can connect to the database. It can't/won't ask the
> > password from the user.
> Can you tell me any reason why I should store a clear text password
> in a text file for *my* application only because *other* applications
> would require this?
> Kind regards
Why not create a user in MySQL / PostgreSQL that has only rights to
create databases and populates them ?
First time installing dbconfig will ask for the admin password to create
the user and packages that needs some install to databases can use that
account to create that database.
Hmm.. think it isn't possible then dbconfig needs an dependency on
postgresql and mysql.. and i think that's not preferable.