<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="sys-version">
      </a>
      30.4.3.47 The version View
     </h4>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045061808560">
  </a>
  <a class="indexterm" name="idm46045061807072">
  </a>
  <p>
   This view provides the current
   <a class="link" href="sys-schema.html" title="Chapter 30 MySQL sys Schema">
    <code class="literal">
     sys
    </code>
   </a>
   schema and MySQL server
          versions.
  </p>
  <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
   <div class="admon-title">
    Note
   </div>
   <p>
    This view is deprecated, and subject to removal in a future
            MySQL version. Applications that use it should be migrated
            to use an alternative instead. For example, use the
    <a class="link" href="information-functions.html#function_version">
     <code class="literal">
      VERSION()
     </code>
    </a>
    function to
            retrieve the MySQL server version.
   </p>
  </div>
  <p>
   The
   <a class="link" href="sys-version.html" title="30.4.3.47 The version View">
    <code class="literal">
     version
    </code>
   </a>
   view has these
          columns:
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <code class="literal">
       sys_version
      </code>
     </p>
     <p>
      The
      <a class="link" href="sys-schema.html" title="Chapter 30 MySQL sys Schema">
       <code class="literal">
        sys
       </code>
      </a>
      schema version.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       mysql_version
      </code>
     </p>
     <p>
      The MySQL server version.
     </p>
    </li>
   </ul>
  </div>
 </div>
 <br/>
</div>
