title: MySQL: Missing X Plugin
body: <p>MySQL Version is 5.7.15. Ubuntu 16.04.1</p>
  
  <p>I am trying to set up MySQL as a document store, as described in section 3.3 of the <a href="https://dev.mysql.com/doc/refman/5.7/en/document-store-setting-up.html" rel="nofollow">MySQL 5.7 Reference Manual</a></p>
  
  <p>When I run the command:</p>
  
  <pre><code>mysqlsh -u user -h localhost --classic --dba enableXProtocol
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>Creating a Classic Session to root@localhost:3306
  Enter password:
  No default schema selected.
  
  enableXProtocol: Installing plugin mysqlx...
  enableXProtocol: Error installing the X Plugin: Can't open shared library '/usr/lib/mysql/plugin/mysqlx.so' (errno: 2 /usr/lib/mysql/plugin/mysqlx.so: cannot open shared object file: No such file or directory)
  </code></pre>
  
  <p>When I try:</p>
  
  <pre><code>mysql&gt; INSTALL PLUGIN mysqlx SONAME 'mysqlx.so';
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>ERROR 1126 (HY000): Can't open shared library '/usr/lib/mysql/plugin/mysqlx.so' (errno: 2 /usr/lib/mysql/plugin/mysqlx.so: cannot open shared object file: No such file or directory)
  </code></pre>
  
  <p>The manual says this plugin should be built in, but I can't find it when I run <code>SHOW PLUGINS()</code>.
  I've searched Google and Stack Overflow, and found nothing regarding my issue. </p>
  
  <p>Any assistance is appreciated.</p>