PDA

View Full Version : مشکل در اتصال به دیتابیس pgsql



ms-ninja
جمعه 28 شهریور 1399, 13:51 عصر
با سلام خدمت تمامی دوستان گرامی

من در لاراول 8 به یک مشکل جدی برخورد کرده ام

در اتصال به دیتابیس pgsql مشکل دارم



C:\wamp64\www\Panel>php artisan migrate


Illuminate\Database\QueryException


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


at C:\wamp64\www\Panel\vendor\laravel\framework\src\I lluminate\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▕


1 C:\wamp64\www\Panel\vendor\laravel\framework\src\I lluminate\Database\Connectors\Connector.php:70
PDOException::("could not find driver")


2 C:\wamp64\www\Panel\vendor\laravel\framework\src\I lluminate\Database\Connectors\Connector.php:70
PDO::__construct("pgsql:host=localhost;dbname=serverap;port=5432;ssl mode=prefer", "userap", "123456", [])




تمامی تنظیمات در wamp انجام شده

152172
152173152174


لطفا راهنمایی کنید

با تشکر

plague
جمعه 28 شهریور 1399, 22:59 عصر
با ومپ زیاد مطمئن نیستم ولی فکر میکنم اگه بری

http://localhost/?phpinfo=1

اونجا بزنه فعال بشه تو قسمت PDO drivers

ms-ninja
شنبه 29 شهریور 1399, 11:14 صبح
152176

نشد همچنان