[csw-maintainers] "package needs a database" general issue

John Ellson ellson at opencsw.org
Thu May 21 18:27:04 CEST 2009


I think many Fedora packages are using SQLite as their default database.  

No problems with starting daemons or setting up separate userids and 
passwords.

John


Philip Brown wrote:
> Hi folks,
>
> There is an issue that comes up occasionally, where we want to offer an
> 'easy install' option for people for a particular package, but that package
> requires a database to run.
>
> Then there is a matter of; WHICH database should we use, for fully
> automated install?!!
>
> usually it comes down to a choice of "postgres or mysql?"
>
> I would like to propose that we need to pick an official default database
> to use.
>
>
> Furthermore, I propose that that database be mysql. It's the simplest to
> administer, it has the biggest mindshare, and there are lots of apps that
> will ONLY support mysql, sadly.
>
> HOWEVER, I always like to support end-user choice whenever possible.
> So, in addition to a default assumption of mysql... I would also like to
> propose a setting in csw.conf.
> Something like
>
> default_dbtype
>
> where values can be mysql, postgres, or even oracle.
> If that value is set, then a package can presume that that database is
> already installed and running.
> In those cases though, we also need to agree on some kind of common
> mechanism to insert values into said database.
>
> Comments?
>
>
> _______________________________________________
> maintainers mailing list
> maintainers at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/maintainers
>
>   




More information about the maintainers mailing list