laravel 5 error in migration

0

Friends. I am creating a project in laravel 5.5 using windows, but when creating the migrations "php artisan migrate", I get this error:

  

In Connection.php line 664:

     

could not find driver (SQL: select * from information_schema.tables where table_schema = walcor and table_name = migrations)

     

In Connector.php line 67:

     

could not find driver

What is this? How do I solve it?

    
asked by Appiweb 05.01.2018 в 16:48
source

1 answer

0

You must validate that you have pdo_mysql enabled in your php.ini. Open the php.ini file and check that the line is uncommented: extension = php_pdo_mysql.dll

 ;extension=php_pdo_firebird.dll
 ;extension=php_pdo_mssql.dll
 extension=php_pdo_mysql.dll
 ;extension=php_pdo_oci.dll
 ;extension=php_pdo_odbc.dll
 ;extension=php_pdo_pgsql.dll
 ;extension=php_pdo_sqlite.dll

Save the changes and restart Apache. I hope it helps you. Greetings.

    
answered by 05.01.2018 в 17:03