Laravel 5 PDOException Could Not Find Driver
<p>I have a problem using Laravel 5. When I run "php aritsan migrate", I got this error</p>

<pre><code>**************************************
*     Application In Production!     *
**************************************

Do you really wish to run this command? [y/N] y

[PDOException]
could not find driver
</code></pre>

<p>I could run the application, but when database connection needed, I got this error</p>

<pre><code>PDOException in Connector.php line 55:
could not find driver
in Connector.php line 55
at PDO-&gt;__construct('mysql:host=localhost;dbname=mydb', 'root', '', array('0', '2', '0', false, false)) in Connector.php line 55
at Connector-&gt;createConnection('mysql:host=localhost;dbname=mydb', array('driver' =&gt; 'mysql', 'host' =&gt; 'localhost', 'database' =&gt; 'mydb', 'username' =&gt; 'root', 'password' =&gt; '', 'charset' =&gt; 'utf8', 'collation' =&gt; 'utf8_unicode_ci', 'prefix' =&gt; '', 'strict' =&gt; false, 'name' =&gt; 'mysql'), array('0', '2', '0', false, false)) in MySqlConnector.php line 22
</code></pre>

<p>How to fix it?</p>