<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h3 class="title">
      <a name="x-plugin-checking-installation">
      </a>
      22.5.1 Checking X Plugin Installation
     </h3>
    </div>
   </div>
  </div>
  <p>
   X Plugin is enabled by default in MySQL 8, therefore installing
      or upgrading to MySQL 8 makes the plugin available. You can verify
      X Plugin is installed on an instance of MySQL server by using the
   <a class="link" href="show-plugins.html" title="15.7.7.27 SHOW PLUGINS Statement">
    <code class="literal">
     SHOW plugins
    </code>
   </a>
   statement to view the
      plugins list.
  </p>
  <p>
   To use MySQL Shell to verify X Plugin is installed, issue:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa5562932"><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">mysqlsh</span> <span class="token property">-u</span> <em class="replaceable">user</em> <span class="token property">--sqlc</span> <span class="token property">-P</span> 3306 <span class="token property">-e</span> <span class="token atrule">"SHOW plugins"</span></code></pre>
  </div>
  <p>
   To use MySQL Client to verify X Plugin is installed, issue:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa9381456"><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">mysql</span> <span class="token property">-u</span> <em class="replaceable">user</em> <span class="token property">-p</span> <span class="token property">-e</span> <span class="token atrule">"SHOW plugins"</span></code></pre>
  </div>
  <p>
   An example result if X Plugin is installed is highlighted here:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting language-none"><div class="docs-select-all right" id="sa27818434"><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-none">+----------------------------+----------+--------------------+---------+---------+
| Name                       | Status   | Type               | Library | License |
+----------------------------+----------+--------------------+---------+---------+

...


| mysqlx                     | ACTIVE   | DAEMON             | NULL    | GPL     |

...

+----------------------------+----------+--------------------+---------+---------+</code></pre>
  </div>
 </div>
 <br/>
</div>
