title: Laravel post request from another domain database error
body: <p>When I trying to make POST request to my API from another website, that uses sqlite, I am getting wery strange error on my API server, here is some trace:</p>
  
  <pre><code>production.ERROR: SQLSTATE[HY000] [1049] Unknown database 'onclinic.sqlite' {"exception":"[object] (Doctrine\\DBAL\\Driver\\PDOException(code: 1049): SQLSTATE[HY000] [1049] Unknown database 'onclinic.sqlite' at D:\\OSPanel\\domains\\onclinic-engine\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\PDOConnection.php:47, PDOException(code: 1049): SQLSTATE[HY000] [1049] Unknown database 'onclinic.sqlite' at D:\\OSPanel\\domains\\onclinic-engine\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\PDOConnection.php:43)
  D:\\OSPanel\\domains\\onclinic-engine\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connectors\\Connector.php(64): Doctrine\\DBAL\\Driver\\PDOConnection-&gt;__construct('mysql:host=127....', 'root', '', Array)
  D:\\OSPanel\\domains\\onclinic-engine\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connectors\\Connector.php(43): Illuminate\\Database\\Connectors\\Connector-&gt;createPdoConnection('mysql:host=127....', 'root', '', Array)
  D:\\OSPanel\\domains\\onclinic-engine\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connectors\\MySqlConnector.php(24): Illuminate\\Database\\Connectors\\Connector-&gt;createConnection('mysql:host=127....', Array, Array)
  D:\\OSPanel\\domains\\onclinic-engine\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connectors\\ConnectionFactory.php(183): Illuminate\\Database\\Connectors\\MySqlConnector-&gt;connect(Array)
  </code></pre>
  
  <p>I really do not understand, why my API server failidng because of sqlite databse, if all config is set up to use mysql</p>
  
  <pre><code>'default' =&gt; env('DB_CONNECTION', 'mysql'),
  'mysql' =&gt; [
          'driver' =&gt; 'mysql',
          'host' =&gt; env('DB_HOST', '127.0.0.1'),
          'port' =&gt; env('DB_PORT', '3306'),
          'database' =&gt; env('DB_DATABASE', 'forge'),
          'username' =&gt; env('DB_USERNAME', 'forge'),
          'password' =&gt; env('DB_PASSWORD', ''),
          'unix_socket' =&gt; env('DB_SOCKET', ''),
          'charset' =&gt; 'utf8mb4',
          'collation' =&gt; 'utf8mb4_general_ci',
          'prefix' =&gt; '',
          'strict' =&gt; true,
          'engine' =&gt; null,
      ],
  </code></pre>
  
  <h2>Update</h2>
  
  <p>All work fine if I'm sending request from postman, but GuzzleHttp gets me troubles.</p>