<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h2 class="title">
      <a name="source-installation">
      </a>
      2.8 Installing MySQL from Source
     </h2>
    </div>
   </div>
  </div>
  <div class="toc">
   <dl class="toc">
    <dt>
     <span class="section">
      <a href="source-installation-methods.html">
       2.8.1 Source Installation Methods
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="source-installation-prerequisites.html">
       2.8.2 Source Installation Prerequisites
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="source-installation-layout.html">
       2.8.3 MySQL Layout for Source Installation
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="installing-source-distribution.html">
       2.8.4 Installing MySQL Using a Standard Source Distribution
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="installing-development-tree.html">
       2.8.5 Installing MySQL Using a Development Source Tree
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="source-ssl-library-configuration.html">
       2.8.6 Configuring SSL Library Support
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="source-configuration-options.html">
       2.8.7 MySQL Source-Configuration Options
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="compilation-problems.html">
       2.8.8 Dealing with Problems Compiling MySQL
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="source-configuration-third-party.html">
       2.8.9 MySQL Configuration and Third-Party Tools
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="source-installation-doxygen.html">
       2.8.10 Generating MySQL Doxygen Documentation Content
      </a>
     </span>
    </dt>
   </dl>
  </div>
  <a class="indexterm" name="idm46045329722592">
  </a>
  <a class="indexterm" name="idm46045329721136">
  </a>
  <a class="indexterm" name="idm46045329719648">
  </a>
  <p>
   Building MySQL from the source code enables you to customize build
    parameters, compiler optimizations, and installation location. For a
    list of systems on which MySQL is known to run, see
   <a class="ulink" href="https://www.mysql.com/support/supportedplatforms/database.html" target="_blank">
    https://www.mysql.com/support/supportedplatforms/database.html
   </a>
   .
  </p>
  <p>
   Before you proceed with an installation from source, check whether
    Oracle produces a precompiled binary distribution for your platform
    and whether it works for you. We put a great deal of effort into
    ensuring that our binaries are built with the best possible options
    for optimal performance. Instructions for installing binary
    distributions are available in
   <a class="xref" href="binary-installation.html" title="2.2 Installing MySQL on Unix/Linux Using Generic Binaries">
    Section 2.2, “Installing MySQL on Unix/Linux Using Generic Binaries”
   </a>
   .
  </p>
  <a class="indexterm" name="idm46045329715904">
  </a>
  <p>
   If you are interested in building MySQL from a source distribution
    using build options the same as or similar to those use by Oracle to
    produce binary distributions on your platform, obtain a binary
    distribution, unpack it, and look in the
   <code class="filename">
    docs/INFO_BIN
   </code>
   file, which contains information
    about how that MySQL distribution was configured and compiled.
  </p>
  <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
   <div class="admon-title">
    Warning
   </div>
   <p>
    Building MySQL with nonstandard options may lead to reduced
      functionality, performance, or security.
   </p>
  </div>
  <p>
   The MySQL source code contains internal documentation written using
    Doxygen. The generated Doxygen content is available at
   <a class="ulink" href="/doc/index-other.html" target="_top">
    https://dev.mysql.com/doc/index-other.html
   </a>
   . It is also possible to
    generate this content locally from a MySQL source distribution using
    the instructions at
   <a class="xref" href="source-installation-doxygen.html" title="2.8.10 Generating MySQL Doxygen Documentation Content">
    Section 2.8.10, “Generating MySQL Doxygen Documentation Content”
   </a>
   .
  </p>
 </div>
 <br/>
</div>
