Illuminate\Database\QueryException
could not find driver (Connection: mysql, SQL: create table migrations` (`id` int unsigned not null auto_increment primary key, migration` varchar(255) not null, `batch` int not null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:760
756▕ // If an exception occurs when attempting to run a query, we'll format the error
757▕ // message to include the bindings with SQL, which will make this exception a
758▕ // lot more helpful to the developer instead of just the database's errors.
759▕ catch (Exception $e) {
➜ 760▕ throw new QueryException(
761▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
762▕ );
763▕ }
764▕ }
+29 vendor frames
30 artisan:35
Illuminate\Foundation\Console\Kernel::handle()
I searched it from google and i got question like mine but that solution didn't work
Sounds like you don't have the mysql driver extension configured for php?
Check your php.ini
;extension=pdo_mysql.so
Remove the ;
from the beginning if there is one, save, and then reload php.
More details: