person_add

laravel connect postgresql error : could not find driver (SQL: select tablename from pg_catalog.pg_tables where schemaname in ('public'))

Development : Laravel PostgreSQL PostgreSQL

Posted by Tobirama 3 years ago



  • Tobirama 3 years ago

    Be sure to configure the 'default' key in app/config/database.php

    For postgres, this would be 'default' => 'postgres',

     

    Also, don't hesitate to update the correct php.ini in your current php version, if you use wampp : C:\wamp64\bin\php\php7.4.26 for example


    Reply


    • Maravilla 3 years ago

      Great. Thanks for sharing

    • Maravilla 3 years ago

      Also don't forget to tape ' php --ini ' to show the php.ini path and ensure your correct the right file.

Your answer!



Similars contributions