On Mon, 6 May 2002, Antoine Pérus wrote:

> Someone could explain me what are the differences between the fink
> packages mysql, mysql-dev and mysql-shlibs?

This is a new aspect of Fink called splitoff packages. Splitoffs are just
starting to show up in common packages like MySQL (and lots of others).
Basically the one download package is compiled in such a way that it is
fractured into components that provide different types of functionality.

The common extensions you see include -dat, -shlibs, -bin, and -dev, but
there could be others I'm not thinking of at the moment. These provide,
respectively: data files, shared libraries, executable binary programs,
and I'm not sure about the -dev extension (device drivers??). All of this
is created so that you can pick & choose which parts of a package you want
to have installed -- hence making resolution of dependencies easier.

> I had installed MySQL following the Marc Liyanage instructions
> (<http://www.entropy.ch/software/macosx/mysql/>) but now that I got a
> new 'MySQL Database Server' user from fink (and this broke my previous
> mysql account), I wonder whether fink could repair this mistake ...

Yeah, I think it's a little annoying that Fink's passwd package creates
users like that -- testing the new passwd package is fine, but it
shouldn't create users that will break commonly installed software like
MySQL. Just creating a "fink" user might be a better idea.

In any event, it sounds like you have two copies of MySQL now. You need to
figure out which user each instance wants to run under, based on what the
relevant config & init scripts say. I'm guessing you already had a user
named 'mysql', and passwd may have replaced it or it may have created
another user with a similar name. This happened for me with PostgreSQL --
I've got a postgres user (made by me) and a pgsql user (made by passwd),
and I had to sort out which one the database server needs to run with.
Kind of a pain, but then fixing it was a learning experience in using
NetInfo Manager... :/

> --------------------------- <[EMAIL PROTECTED]> ---------------------------
> Antoine Pérus                                       Service informatique
> Cnrs/In2p3/Lal  (Accélérateur Linéaire)    BP34 91898 Orsay Cedex France
> Tel. 33-1-64 46 84 43                            Fax 33-1-69 07 94 04
> ---------------------------------ooO-=-Ooo----------------------------------

Linear accelerator? Cool.



--
Chris Devers                                [EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/

"More war soon. You know how it is."    -- mnftiu.cc


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to