I want to make a migration to MySQL, when I put the php artisan migrate
instruction in my command line, I get the following error in console:
In Connection.php line 664: could not find driver (SQL: select * from information_schema.tables where t able_schema = course and table_name = migrations)
In Connector.php line 67: could not find driver
In my .env file I have defined
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=curso
DB_USERNAME=root
DB_PASSWORD=root
How could I solve it?