title: An exception occured in driver: SQLSTATE[HY000] [2002] Connection refused Trying to create a database on symfony 3.4
body: <p>I tried to create a databse in doctrune 3.4 with  <code>php bin/console doctrine:database:create</code> command but I get this error</p>
  
  <pre><code>`Failed loading /opt/lampp/lib/php/extensions/no-debug-non-zts-20180731`/xdebug.so:  /opt/lampp/lib/php/extensions/no-debug-non-zts-20180731/xdebug.so: cannot open shared object file: No such file or directory
  
  In AbstractMySQLDriver.php line 103:
  
    An exception occured in driver: SQLSTATE[HY000] [2002] Connection refused  
  
  
  In PDOConnection.php line 47:
  
    SQLSTATE[HY000] [2002] Connection refused  
  
  
  In PDOConnection.php line 43:
  
    SQLSTATE[HY000] [2002] Connection refused
  </code></pre>
  
  <p>This is the setting on config.yml</p>
  
  <pre><code>doctrine:
      dbal:
          driver: pdo_mysql
          host: '%database_host%'
          port: '%database_port%'
          dbname: '%database_name%'
          user: '%database_user%'
          password: '%database_password%'
          charset: utf8mb4
          default_table_options:
              charset: utf8mb4
              collate: utf8mb4_unicode_ci
  </code></pre>
  
  <p>I'm uging xampp MariaDb 10.1 version and the doctrine built-in server to develop </p>