<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="verifying-md5-checksum">
      </a>
      2.1.4.1 Verifying the MD5 Checksum
     </h4>
    </div>
   </div>
  </div>
  <p>
   After you have downloaded a MySQL package, you should make sure
        that its MD5 checksum matches the one provided on the MySQL
        download pages. Each package has an individual checksum that you
        can verify against the package that you downloaded. The correct
        MD5 checksum is listed on the downloads page for each MySQL
        product; you should compare it against the MD5 checksum of the
        file (product) that you download.
  </p>
  <p>
   Each operating system and setup offers its own version of tools
        for checking the MD5 checksum. Typically the command is named
   <span class="command">
    <strong>
     md5sum
    </strong>
   </span>
   , or it may be named
   <span class="command">
    <strong>
     md5
    </strong>
   </span>
   , and some operating systems do not ship
        it at all. On Linux, it is part of the
   <span class="bold">
    <strong>
     GNU
        Text Utilities
    </strong>
   </span>
   package, which is available for a wide
        range of platforms. You can also download the source code from
   <a class="ulink" href="http://www.gnu.org/software/textutils/" target="_blank">
    http://www.gnu.org/software/textutils/
   </a>
   . If you
        have OpenSSL installed, you can use the command
   <span class="command">
    <strong>
     openssl
        md5
     <em class="replaceable">
      <code>
       package_name
      </code>
     </em>
    </strong>
   </span>
   instead. A
        Windows implementation of the
   <span class="command">
    <strong>
     md5
    </strong>
   </span>
   command
        line utility is available from
   <a class="ulink" href="http://www.fourmilab.ch/md5/" target="_blank">
    http://www.fourmilab.ch/md5/
   </a>
   .
   <span class="command">
    <strong>
     winMd5Sum
    </strong>
   </span>
   is a graphical MD5 checking tool
        that can be obtained from
   <a class="ulink" href="http://www.nullriver.com/index/products/winmd5sum" target="_blank">
    http://www.nullriver.com/index/products/winmd5sum
   </a>
   .
        Our Microsoft Windows examples assume the name
   <span class="command">
    <strong>
     md5.exe
    </strong>
   </span>
   .
  </p>
  <p>
   Linux and Microsoft Windows examples:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting language-terminal"><div class="docs-select-all right" id="sa2907064"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token prompt">$&gt; </span><span class="token command">md5sum</span> mysql-standard-8<span class="token punctuation">.</span>4<span class="token punctuation">.</span>3-linux-i686<span class="token punctuation">.</span>tar<span class="token punctuation">.</span>gz
aaab65abbec64d5e907dcd41b8699945  mysql-standard-8<span class="token punctuation">.</span>4<span class="token punctuation">.</span>3-linux-i686<span class="token punctuation">.</span>tar<span class="token punctuation">.</span>gz</code></pre>
  </div>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting language-terminal"><div class="docs-select-all right" id="sa58695719"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token prompt">$&gt; </span><span class="token command">md5.exe</span> mysql-installer-community-8<span class="token punctuation">.</span>4<span class="token punctuation">.</span>3<span class="token punctuation">.</span>msi
aaab65abbec64d5e907dcd41b8699945  mysql-installer-community-8<span class="token punctuation">.</span>4<span class="token punctuation">.</span>3<span class="token punctuation">.</span>msi</code></pre>
  </div>
  <p>
   You should verify that the resulting checksum (the string of
        hexadecimal digits) matches the one displayed on the download
        page immediately below the respective package.
  </p>
  <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
   <div class="admon-title">
    Note
   </div>
   <p>
    Make sure to verify the checksum of the
    <span class="emphasis">
     <em>
      archive
          file
     </em>
    </span>
    (for example, the
    <code class="filename">
     .zip
    </code>
    ,
    <code class="filename">
     .tar.gz
    </code>
    , or
    <code class="filename">
     .msi
    </code>
    file) and not of the files that are contained inside of the
          archive. In other words, verify the file before extracting its
          contents.
   </p>
  </div>
 </div>
 <br/>
</div>
