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

[DB] Selecting preferred database [was: what about Database?]



On Mon, 10 Jun 2002, Giuseppe Sacco wrote:

> Actually when installing an application that for instance uses a DBI or
> PHPlib interface you have to scan for every database engine installed and
> then ask the user to select one of them. After choosing the engine you
> have to select a database instance name and some users/passwords.
> 
> When you upgrade a database engine you would probably need to stop
> applications that uses the engine and then restart them.
> 
> When you want to uninstall applications you could remove the associated
> database instance. When you remove database engine you could ask the
> user to migrate to a different engine.
> 
> I would like to have some infrastructure to support all these operations
> in a standard way.

It's not absoloutely standardised, nor perfect most likely, but I seem to
recall an example in some Debconf documentation to do an almost identical
thing.  There is also a system to do precisely that in the X servers to
select which X server to use as the default.  It lists the X servers
currently installed and asks which one you want to use.  I'd suggest going
to the debconf docs and, more importantly, the X server config scripts. 
Write a generalised interface to this sort of hooplah (assuming the debconf
interface is too clunky - I don't think it is) and get everyone - databases,
Java programs (ugh), and X server - to use it, and the world will be a
better place.

And yes, changing the subject line helps gain readership.

-- 
-----------------------------------------------------------------------
#include <disclaimer.h>
Matthew Palmer
mjp16@ieee.uow.edu.au


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: