Error when typing php Artisan migrate command in windows terminal

Asked

Viewed 420 times

-1

Error: after typing the command php artisan migrate in the 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 as an internal or external command, a operable program or a file in batches.

C: xampp htdocs Laravel>

1 answer

0

On the drive you need to enable which database drive is using, this needs to be enabled in your xampp.

Composer

Download and install Composer on your windows https://getcomposer.org/download/ Note: When installing there is an option for you to select the PHP.EXE path

  • Do you need to enable which one? Is it in php.ini? If it is, I have enabled it and it doesn’t resolve it the same way

  • About Composer I can’t install on my machine, because I use company proxy, and it’s in trouble

Browser other questions tagged

You are not signed in. Login or sign up in order to post.