Home>

I'm connecting a MySQL database to Laravel and creating a to-do list.

php artisan migration
When you type the command

could not find driver (SQL: select * from information_schema.tables where table_schema = todo and table_name = migrations and table_type ='BASE TABLE')
Will appear

What I tried

Another similar symptom came up and I copied the .env page or the source code of a colleague who was working fine and ran the command, but I get the same error.

Supplementary information (FW/tool version, etc.)

CentOS8 Laravel MySQL