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

Re: the mysql postgresql question.



Dave Patterson wrote:
Hi all - is it possible to go with one database system for all package
dependencies?

Package foo depends on mysql for install,

Package bar allows postgresql or mysql but requires one or the other.

Package umpty-scratch prefers postgresql.

Is it necessary to have both
database systems installed in order to have foo,bar, and umptyscratch;

Or can I pipe a dependancy somehow?

Cluebricks welcome.

Cheers,

Dave



It depends ;(

Your 'foo' package depends on mysql. This means there's a front end program that interacts with the DB, and a schema used to build the DB structure used by the front end. This schema probably has mysql specific functionality, which could (probably does) translate into mysql specific functionality used in the front end.

The other two cases described sound like the schemas are generic and so can be used with any SQL compliant database.

So you should be able to install mysql, followed by the three packages, and have everything work (perhaps with a bit of configuration effort for the second and third packages).

But if you want/require PostgreSQL for those two, you'll still need mysql for the first.

Bob

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: