I deployed my code to server and migrated the database with command bellow:
php artisan migrate
And everything works fine. But when I want to access to my url it throws the following exception:
could not find driver (SQL: select * from `...`)
If it cannot find the driver then how it created the tables? Am I missing something.
Also my database works fine when I run
php artisan serve
on my server and access that locally.