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

Re: Depend on mysql-client for lamp web application



On Wed, Jun 15, 2005 at 02:02:18PM +0100, Gareth Ardron wrote:
> Uwe Steinmann wrote:
> 
> >Hi,
> >
> >I just wonder if my debian package for a lamp web application must
> >depend on mysql-client. debian/(config|postinst|prerm) calls mysql
> >to check whether the required database exists and creates resp. drops
> >it. Doesn't that mean that mysql-client is a dependency even it the
> >database server is locate on different computer?
> >On the other hand, there is at least one web apps (phpgroupware)
> >without a dependency on mysql-client.
> > 
> >
> But you wouldn't need to depend on mysql-client if you don't call that 
> program. For example, any php-based programs would be calling mysql 
> through php4-mysql, which in turn depends on libmysqlclient - not on 
> mysql-client.
The application itself doesn't call the mysql command, but I use
wwwconfig-common to create the database during postinst.
wwwconfig-common calls mysql.

  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: