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: [application/pgp-signature] OpenPGP digital signature signature.asc
| Thread |
|---|
| • why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB file | Govinda | 29 Dec |
| • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB file | Andy Wallace | 29 Dec |
| • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB file | Reindl Harald | 29 Dec |
| • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB file | Govinda | 29 Dec |
| • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB file | Reindl Harald | 29 Dec |
| • Re: (off topic) why PATH | hsv | 1 Jan |
| • Re: (off topic) why PATH | Reindl Harald | 1 Jan |
| • Re: (off topic) why PATH | Claudio Nanni | 1 Jan |
| • Re: (off topic) why PATH | Reindl Harald | 1 Jan |
| • Re: (off topic) why PATH | Johan De Meersman | 1 Jan |
| • Re: (off topic) why PATH | Claudio Nanni | 1 Jan |
| • Re: (off topic) why PATH | Reindl Harald | 1 Jan |
| • Re: (off topic) why PATH | Claudio Nanni | 1 Jan |
| • Re: (off topic) why PATH | Reindl Harald | 1 Jan |
| • Re: (off topic) why PATH | Reindl Harald | 1 Jan |
| • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB file | Jan Steinman | 31 Dec |
| • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB file | Reindl Harald | 31 Dec |
| • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB file | Govinda | 1 Jan |
| • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB file | Jan Steinman | 2 Jan |
| • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB file | Govinda | 3 Jan |
| • Re: why does basic MySQLdump on db table fail with "Permissiondenied", or else it creates a zero KB file | hsv | 4 Jan |
| • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB file | Govinda | 4 Jan |
| • Re: (off topic) why PATH | Jan Steinman | 4 Jan |
| • Re: (off topic) why PATH | Reindl Harald | 4 Jan |