title: How to use mysql instead of mariadb in symfony 5
body: <p>i think this might be a stupid question for some, but i swear that i can't find the answer by myself actually.</p>
  <p>I'm still learning Symfony so please be nice.</p>
  <p>Actually i have set up the access to my database in the .env file :</p>
  <pre><code>[...]
  DATABASE_URL=mysql://root:db_password@127.0.0.1:3308/db_name
  [...]
  </code></pre>
  <p>And then i have define the environnement variable in the config/doctrine.yaml :</p>
  <pre><code>doctrine:
      dbal:
        default_connection: default
        connections:
          default:
            dbname:           Symfony
            user:             root
            password:         null
            host:             localhost
            server_version:   '8.0'
            driver: pdo_mysql
            charset: UTF8
  </code></pre>
  <p>So i run the following command :</p>
  <pre><code>&gt; php bin/console doctrine:database:create
  </code></pre>
  <p>But the 'Symfony' database have been created under mariadb.</p>
  <p>:( I don't understand why because i have define precisely that i use a 8.0 version and this version is not a mariadb version.</p>
  <p>I've also try this :</p>
  <pre><code># .symfony/services.yaml
  mydatabase:
      # supported versions: 5.7, 8.0
      type: oracle-mysql:8.0
      disk: 1024
  </code></pre>
  <p>As the <a href="https://symfony.com/doc/master/cloud/services/mysql.html" rel="nofollow noreferrer">symfony documentation saying to do</a>, but it still not working at all.
  I have got the following error message as mydatabase is not a symfony services :</p>
  <pre><code>C:\Users\vincp\Symfony\charming_tuto&gt;php bin/console doctrine:database:create
  
  In FileLoader.php line 173:
  
    There is no extension able to load the configuration for &quot;mydatabase&quot; (in &quot;C:\Users\vincp\Symfony\charming_tuto\con
    fig/services.yaml&quot;). Looked for namespace &quot;mydatabase&quot;, found &quot;&quot;framework&quot;, &quot;sensio_framework_extra&quot;, &quot;twig&quot;, &quot;twig
    _extra&quot;, &quot;web_profiler&quot;, &quot;monolog&quot;, &quot;debug&quot;, &quot;webpack_encore&quot;, &quot;doctrine&quot;, &quot;doctrine_migrations&quot;, &quot;maker&quot;&quot; in C:\Us
    ers\vincp\Symfony\charming_tuto\config/services.yaml (which is being imported from &quot;C:\Users\vincp\Symfony\charming
    _tuto\src\Kernel.php&quot;).
  </code></pre>
  <p>I wanna use mysql because this is the DBMS that i use usually.
  (If you think that i should use mariadb instead of mysql i'm open to that, but give me some arguments. I'd be really interseted in)</p>