From: Reindl Harald Date: January 1 2012 3:38pm Subject: Re: (off topic) why PATH List-Archive: http://lists.mysql.com/mysql/226536 Message-Id: <4F007DEC.2020806@thelounge.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAFA367349AF7098D3984ABD6" --------------enigAFA367349AF7098D3984ABD6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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= =20 > MySQL; therefore, it pays to put the MySQL directory in PATH--but Lynx,= > and many text-processors, comes with one program and many supporting fi= les.=20 > In these cases a mechanism other than PATH, something like VMS or C-she= ll or=20 > Korn-shell alias, implemented at the depth of PATH, would be much bette= r. and that is why you normally do "ln -s /path/to/your/binary /usr/local/bi= n/" 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 --------------enigAFA367349AF7098D3984ABD6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8AfewACgkQhmBjz394AnmUDwCgjdxc3T/CKbT5WZE+wzLYvhUT GDUAnisUkD9Um8zNGxSyYe1Ca89n5vPP =poAF -----END PGP SIGNATURE----- --------------enigAFA367349AF7098D3984ABD6--