سلام من وقتی migrate میگیرم این ارور میده
تو استک اورفلو سرچ کردم و توی php.ini ، اکستنشن pdo_php رو هم از کامنت دراوردم بازم کار نکردم
زمپ هم کار میکنه
.env هم درست انجام دادم
ممنون میشم کمک کنید
could not find driver (Connection: mysql, SQL: select * from information_schema.tables where table_schema = futureblog and table_name = migrations and table_type = 'BASE TABLE')
at vendor\laravel\framework\src\Illuminate\Database\Connection.php:795
791▕ // If an exception occurs when attempting to run a query, we'll format the error
792▕ // message to include the bindings with SQL, which will make this exception a
793▕ // lot more helpful to the developer instead of just the database's errors.
794▕ catch (Exception $e) {
➜ 795▕ throw new QueryException(
796▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
797▕ );
798▕ }
799▕ }
1 vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:65
PDOException::("could not find driver")
2 vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:65
PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=futureblog", "root", Object(SensitiveParameterValue), [])
سلام وقت بخیر
والا خیلی روش های مختلفی رو باید تست کنید تا جواب بده اصلا نمیشه حدس زد
https://stackoverflow.com/questions/46745365/artisan-migrate-could-not-find-driver