title: Why some spatial functions does not exists on my mysql server?
body: <p>I have installed a new local MySQL server (Version8) for a dev usage.
  I want to use spatial functions, but some of them does not exists.</p>
  <p>This script returns me a good value:</p>
  <pre class="lang-sql prettyprint-override"><code>create database test;
  use test;
  select st_x(point(15, 20));
  </code></pre>
  <blockquote>
  <p>15</p>
  </blockquote>
  <p>So, I though spatial extension was natively installed, but as soon as I use other functions like <code>geomfromtext</code>, my script throws an error:</p>
  <pre><code>create database test;
  use test;
  SELECT geomfromtext('Point(15 20)');
  </code></pre>
  <blockquote>
  <p>Error Code: 1305. FUNCTION test.geomfromtext does not exist    0.000 sec</p>
  </blockquote>
  <p>I don't understand, the autocompletion of MySQL Workbench console completes geometry.
  <a href="https://i.stack.imgur.com/IeqYM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IeqYM.png" alt="Autocompletion" /></a></p>
  <p>Which step did I forget during installation?</p>