Q:

Query Exeption error while migrating in laravel

When i am running php artisan migrate there is error like this:
Illuminate\Database\QueryException: could not find driver (SQL: select * from information_schema.tables where table_schema = lara_blog and table_name = migrations)

I have already changed my 

AppServiceProvider.php

file. This could not solve that. And I could't find another solution. Please help me solve this problem.
P.S My OS is Linux. I tried to run exactly the same project on Windows, and it is working fine.

A:

You might be missing the mysql extension for php.
In Linux, the install command is 'apt-get install phpX.X-mysql' where the X.X is your php version ('php -v' to find our which version you have).

