Error when I type php artisan migrate command in windows terminal

-1

Error: After typing the command php artisan migrate in Windows :

  

Microsoft Windows [version 6.2.9200] (c) 2012 Microsoft Corporation.   All rights reserved.

     

C: \ Users \ x538238> cd C: \ xampp \ htdocs \ laravel

     

C: \ xampp \ htdocs \ laravel> php artisan migrate

     

In Connection.php line 664:

     

could not find driver (SQL: select * from information_schema.tables   where t able_schema = test and table_name = migrations)

     

In Connector.php line 67:

     

could not find driver

     

C: \ xampp \ htdocs \ laravel> composer update 'composer' is not recognized   such as an internal or external command, an operable program or a file   in batches.

     

C: \ xampp \ htdocs \ laravel >

    
asked by anonymous 25.07.2018 / 13:16

1 answer

0

On the drive you need to enable what database drive you are using, this needs to be enabled on your xampp.

Composer

Download and install the composer on your windows link Note: When installing there is an option for you to select the PHP.EXE path

    
25.07.2018 / 13:35