[nylug-talk] Is there a general best practice location to install mysql?

Sunny Dubey sunny at opencurve.org
Sun Oct 7 14:00:51 EDT 2007


On Thursday 04 October 2007 18:19:20 Brandorr wrote:
> Do I install in / ? Or in /usr  or in /usr/mysql5 or in /usr/mysql/5.0 ??

When you install MySQL or any app outside or what "is expected", you end up 
having to specify all the new dirs here and there.  IE: /usr/mysql/5.0/lib 
will need to be specified in /etc/ld.so.conf.  You'd have to 
append /usr/mysql/5.0/{include} to the various ./configure and CCARGS/AUXLIBS 
arguments, etc.  It gets messy pretty fast.

The FHS (part of the LSB) can easily tell you where to put mysql or any app.  
But also keep in mind that whatever is on the / partition is kept minimal in 
order to keep a system simple when booting into single user mode only.  (Some 
of this may not be part of the standard but is done by convention and 
ideology.)

-- 
Sunny Dubey

  mail:  sunny at audiowiki.org
  tele:  212.333.3542


More information about the nylug-talk mailing list