Hi not sure, maybe you can check database connection,
Check with tinker
php artisan tinker
// then
DB::connection()->getPdo();
If you can't connect then you should check if you have a database installed or driver
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am trying to run php artisan migrate after installing xampp and laravel on my ubuntu 20.4 on my desktop and i get this error
Illuminate\Database\QueryException
could not find driver (SQL: select * from information_schema.tables where table_schema = estate and table_name = migrations and table_type = 'BASE TABLE')
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:671
667| // If an exception occurs when attempting to run a query, we'll format the error
668| // message to include the bindings with SQL, which will make this exception a
669| // lot more helpful to the developer instead of just the database's errors.
670| catch (Exception $e) {
> 671| throw new QueryException(
672| $query, $this->prepareBindings($bindings), $e
673| );
674| }
675|
+36 vendor frames
37 artisan:37
Illuminate\Foundation\Console\Kernel::handle()
Please what is the solution?
Please or to participate in this conversation.