Error migrating in Laravel 5.3

-1

I get this error when wanting to migrate the tables that Laravel gives us by default. I'm occupying Linux;

 [Illuminate\Database\QueryException]                                            
  could not find driver (SQL: select * from information_schema.tables where table_schema = forge and table_name = migrations)                                   



  [PDOException]         
  could not find driver  
    
asked by Anthony 22.12.2016 в 23:42
source

1 answer

0

You must install the Apache driver.

you can use:

sudo apt-get install php5-mysql

Then you restart the service with:

sudo service apache2 restart

Once I did a tutorial on the installation of Laravel in NGINX you can see it in the link Only if you use NGINX, for Apache are more or less the same steps, but simpler.

    
answered by 23.12.2016 в 03:00