Am 01.01.2012 03:51, schrieb Hal?sz S?ndor:
>>>>> 2011/12/29 19:35 +0100, Reindl Harald >>>>
> for the hadnful things on my linux-machines where such non-default
> locations are existing i usually set symlinks unter /usr/local/bin/
> to the binarys, so they are seperated and from the user point
> of view in the PATh and all wroks fine
> <<<<<<<<
> The weakness of PATH: it is all right in the original Unix case, many, 
> many little programs in few directories. Quite a few programs come with 
> MySQL; therefore, it pays to put the MySQL directory in PATH--but Lynx,
> and many text-processors, comes with one program and many supporting files. 
> In these cases a mechanism other than PATH, something like VMS or C-shell or 
> Korn-shell alias, implemented at the depth of PATH, would be much better.

and that is why you normally do "ln -s /path/to/your/binary /usr/local/bin/"
or do not use OSX as server because on a linux-system you have a package
manager which can install the mysql-sub-folder structure directly to
/usr/local/ where it is already in the path and it takes care of a
clean removal uon uninstall

the only reason for /usr/local/mysql/ is that you can remove this
folder and is needed only on Mac OSX

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to